presto-main/src/main/java/io/prestosql/metadata/MetadataManager.java/MetadataManager/getMetadataForWrite
class MetadataManager:    private ConnectorMetadata getMetadataForWrite(Session session, CatalogName catalogName)
    {
        return getCatalogMetadataForWrite(session, catalogName).getMetadata();
    }