presto-raptor-legacy/src/main/java/io/prestosql/plugin/raptor/legacy/metadata/MetadataDao.java/MetadataDao/isMaintenanceBlockedLocked
class MetadataDao:    @SqlQuery("SELECT maintenance_blocked IS NOT NULL\n" +
            "FROM tables\n" +
            "WHERE table_id = :tableId\n" +
            "FOR UPDATE")
    boolean isMaintenanceBlockedLocked(@Bind("tableId") long tableId);