sqlite-parquet-vtable/parquet
Colin Dellow e1a86954e5 Revert "Don't eagerly evaluate constraints"
This reverts commit cbde3c73b6.

This regresses:

```
WITH inputs AS (
  SELECT
    geo_name,
    CASE WHEN profile_id = 1930 THEN 'total' ELSE 'cyclist' END AS mode,
    female,
    male
  FROM census
  WHERE profile_id IN ( '1930', '1935') AND
    csd_type_name = 'CY' AND
    geo_name IN ('Victoria', 'Dawson Creek', 'Kitchener')
)
SELECT
  total.geo_name,
  cyclist.male,
  cyclist.female,
  100.0 * cyclist.male / total.male,
  100.0 * cyclist.female / total.female
FROM inputs AS total
JOIN inputs AS cyclist USING (geo_name)
WHERE total.mode = 'total' AND cyclist.mode = 'cyclist';
```

while improving:

```
select count(*) from census where geo_name in ('Dawson Creek', 'Kitchener', 'Victoria') and csd_type_name = 'CY' and profile_id = '1930';
```

which seems like a bad tradeoff.
2018-06-23 20:48:39 -04:00
..
.gitignore Initial checkin of CSV table 2018-03-02 18:59:34 -05:00
Makefile tweak Makefile 2018-06-23 16:13:18 -04:00
cmds.txt Code to pretty print constraints 2018-03-10 10:59:53 -05:00
go Code to pretty print constraints 2018-03-10 10:59:53 -05:00
parquet.cc persist row group clauses on EOF 2018-06-23 16:25:56 -04:00
parquet_cursor.cc Revert "Don't eagerly evaluate constraints" 2018-06-23 20:48:39 -04:00
parquet_cursor.h Cache clauses -> row group mapping 2018-03-24 23:57:15 -04:00
parquet_filter.cc Cache clauses -> row group mapping 2018-03-24 23:57:15 -04:00
parquet_filter.h Revert "Don't eagerly evaluate constraints" 2018-06-23 20:48:39 -04:00
parquet_table.cc Move some code out of ensureColumn 2018-06-23 19:10:23 -04:00
parquet_table.h Move some code out of ensureColumn 2018-06-23 19:10:23 -04:00