presto-raptor-legacy/src/main/java/io/prestosql/plugin/raptor/legacy/systemtables/ColumnRangesSystemTable.java/ColumnRangesSystemTable/ColumnRangesSystemTable
class ColumnRangesSystemTable:    public ColumnRangesSystemTable(RaptorTableHandle sourceTable, IDBI dbi)
    {
        this.sourceTable = requireNonNull(sourceTable, "sourceTable is null");
        this.dbi = requireNonNull(dbi, "dbi is null");

        this.indexedRaptorColumns = dbi.onDemand(MetadataDao.class)
                .listTableColumns(sourceTable.getTableId()).stream()
                .filter(column -> isIndexedType(column.getDataType()))
                .collect(toImmutableList());
        List<ColumnMetadata> systemTableColumns = indexedRaptorColumns.stream()
                .flatMap(column -> Stream.of(
                        new ColumnMetadata(column.getColumnName() + MIN_COLUMN_SUFFIX, column.getDataType()),
                        new ColumnMetadata(column.getColumnName() + MAX_COLUMN_SUFFIX, column.getDataType())))
                .collect(toImmutableList());
        SchemaTableName tableName = new SchemaTableName(sourceTable.getSchemaName(), sourceTable.getTableName() + COLUMN_RANGES_TABLE_SUFFIX);
        this.tableMetadata = new ConnectorTableMetadata(tableName, systemTableColumns);
    }