docstr: Main Athena handler
  
  Args:
      options (argparse.Namespace): The parsed args passed from the CLI
      config (CLIConfig): Loaded StreamAlert config
  
  Returns:
      bool: False if errors occurred, True otherwise
docstr_tok: ["Main","Athena","handler","Args",":","options","(","argparse.Namespace",")",":","The","parsed","args","passed","from","the","CLI","config","(","CLIConfig",")",":","Loaded","StreamAlert","config","Returns",":","bool",":","False","if","errors","occurred",",","True","otherwise"]
code: def handler(cls, options, config):
      """Main Athena handler
  
      Args:
          options (argparse.Namespace): The parsed args passed from the CLI
          config (CLIConfig): Loaded StreamAlert config
  
      Returns:
          bool: False if errors occurred, True otherwise
      """
      if options.subcommand == "rebuild-partitions":
          return rebuild_partitions(
              options.table_name, options.bucket, config
          )
  
      if options.subcommand == "drop-all-tables":
          return drop_all_tables(config)
  
      if options.subcommand == "create-table":
          return create_table(
              options.table_name,
              options.bucket,
              config,
              options.schema_override,
          )
  
imports: from streamalert.shared.firehose import FirehoseClient
  from streamalert.shared.utils import get_database_name, get_data_file_format
  from streamalert.shared.alert import Alert
  from streamalert.shared.athena import AthenaClient
  from streamalert.shared.config import firehose_alerts_bucket, firehose_data_bucket
  from streamalert.shared.logger import get_logger
  from streamalert_cli.athena import helpers
  from streamalert_cli.helpers import continue_prompt, record_to_schema
  from streamalert_cli.utils import CLICommand, generate_subparser, set_parser_epilog, UniqueSortedListAction
label_desc: Use image node_id 6 for calling the AthenaCommand obj's underlying member method code with example usage: obj.handler(cls, options, config) and returns: rebuild_partitions, drop_all_tables, create_table