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