parameters: (self, table, database='default')
docstring: Recover partitions in given table in Hive.
docstring_summary: Recover partitions in given table in Hive.
docstring_tokens: Recover partitions in given table in Hive .
function: def recover_partitions(self, table, database='default'):
          """Recover partitions in given table in Hive."""
          self.run_hive_query(
              "USE %s; ALTER TABLE %s RECOVER PARTITIONS;" %
              (database, table),
              upload_archive=False)
function_tokens: def recover_partitions ( self , table , database = 'default' ) : self . run_hive_query ( "USE %s; ALTER TABLE %s RECOVER PARTITIONS;" % ( database , table ) , upload_archive = False )