def METHOD_NAME(args=None):
  """Parse argv."""
  parser = argparse.ArgumentParser(description=__doc__)
  parser.add_argument(
      '--sql-scripts',
      action='append',
      type=lambda csv: csv.split(','),
      required=True,
      help='Comma-separated list of SQL files to run located inside the object '
           'storage directory specified with --sql-scripts-dir. If you pass '
           'argument many times then it will run each SQL script list/stream '
           'in parallel.',
  )
  parser.add_argument(
      '--sql-scripts-dir',
      required=True,
      help='Object storage path where the SQL queries are located.',
  )
  parser.add_argument('--database', help='Hive database to look for data in.')
  parser.add_argument(
      '--table-metadata',
      metavar='METADATA_FILE',
      help="""\