class_docstr: A StreamAlert Athena Client for creating tables, databases, and executing queries
  
  Attributes:
      database: Athena database name where tables will be queried
class_docstr_tok: ["A","StreamAlert","Athena","Client","for","creating","tables",",","databases",",","and","executing","queries","Attributes",":","database",":","Athena","database","name","where","tables","will","be","queried"]
docstr: Get the list of partitions for a specific table in the database
  
  Args:
      table_name (str): Table name for which partitions should be returned
  
  Returns:
      set: Unique set of partitions for the given table
docstr_tok: ["Get","the","list","of","partitions","for","a","specific","table","in","the","database","Args",":","table_name","(","str",")",":","Table","name","for","which","partitions","should","be","returned","Returns",":","set",":","Unique","set","of","partitions","for","the","given","table"]
code: def get_table_partitions(self, table_name):
      """Get the list of partitions for a specific table in the database
  
      Args:
          table_name (str): Table name for which partitions should be returned
  
      Returns:
          set: Unique set of partitions for the given table
      """
      partitions = self.run_query_for_results(
          "SHOW PARTITIONS {}".format(table_name)
      )
      if not partitions:
          LOGGER.error(
              "An error occurred when loading partitions for %s",
              table_name,
          )
          return
  
      return self._unique_values_from_query(partitions)
  
imports: from datetime import datetime
  import posixpath
  import backoff
  import boto3
  from botocore.exceptions import ClientError
  from streamalert.shared.backoff_handlers import backoff_handler, success_handler
  import streamalert.shared.helpers.boto
  from streamalert.shared.logger import get_logger
label_desc: Use image node_id 8 for calling the AthenaClient obj's underlying member method code with example usage: obj.get_table_partitions(table_name) and returns: self