presto-hive/src/main/java/io/prestosql/plugin/hive/SyncPartitionMetadataProcedure.java/SyncPartitionMetadataProcedure/syncPartitionMetadata
class SyncPartitionMetadataProcedure:    public void syncPartitionMetadata(ConnectorSession session, String schemaName, String tableName, String mode)
    {
        try (ThreadContextClassLoader ignored = new ThreadContextClassLoader(getClass().getClassLoader())) {
            doSyncPartitionMetadata(session, schemaName, tableName, mode);
        }
    }