presto-raptor-legacy/src/main/java/io/prestosql/plugin/raptor/legacy/metadata/TableColumn.java/TableColumn/map
class TableColumn:        @Override
        public TableColumn map(int index, ResultSet r, StatementContext ctx)
                throws SQLException
        {
            SchemaTableName table = new SchemaTableName(
                    r.getString("schema_name"),
                    r.getString("table_name"));

            String typeName = r.getString("data_type");
            Type type = typeManager.getType(TypeId.of(typeName));

            return new TableColumn(
                    table,
                    r.getString("column_name"),
                    type,
                    r.getLong("column_id"),
                    r.getInt("ordinal_position"),
                    getOptionalInt(r, "bucket_ordinal_position"),
                    getOptionalInt(r, "sort_ordinal_position"),
                    r.getBoolean("temporal"));
        }