presto-hive/src/main/java/io/prestosql/plugin/hive/metastore/SemiTransactionalHiveMetastore.java/AlterTableOperation/run
class AlterTableOperation:        public void run(HiveMetastore metastore)
        {
            undo = true;
            metastore.replaceTable(identity, newTable.getDatabaseName(), newTable.getTableName(), newTable, principalPrivileges);
        }