(self, table, new_name, database)
Rename the table in Hive.

        Args:
            table: table to rename.
            new_name: new name for the table.
Rename the table in Hive.
Rename the table in Hive .
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)
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 )