presto-hive/src/main/java/io/prestosql/plugin/hive/metastore/HiveMetastore.java/HiveMetastore/replaceTable
class HiveMetastore:    void replaceTable(HiveIdentity identity, String databaseName, String tableName, Table newTable, PrincipalPrivileges principalPrivileges);