parameters: (self, table, new_name, database)
docstring: Rename the table in Hive.
  
          Args:
              table: table to rename.
              new_name: new name for the table.
docstring_summary: Rename the table in Hive.
docstring_tokens: Rename the table in Hive .
function: def alter_table_rename(self, table, new_name, database):
          """Rename the table in Hive.
  
          Args:
              table: table to rename.
              new_name: new name for the table.
          """
          self.run_hive_query("USE %s; ALTER TABLE %s RENAME TO %s;" %
                              (database, table, new_name),
                              upload_archive=False)
function_tokens: def alter_table_rename ( self , table , new_name , database ) : self . run_hive_query ( "USE %s; ALTER TABLE %s RENAME TO %s;" % ( database , table , new_name ) , upload_archive = False )