Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions vortex-bench/sql/vortex/1_sum.sql
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
-- When Footer changes land, vortex-duckdb should populate statistics from
-- Footer without loading and decoding the data.
-- All zone maps are included since we don't have a filter. Vortex doesn't load
-- data but instead populates Sum() stat from zone maps
SELECT sum(col) FROM test;
3 changes: 3 additions & 0 deletions vortex-bench/sql/vortex/2_sum-range.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
-- Some zone maps are pruned, two zones are included partially, and all others
-- are included. Only two zone maps should be decoded fully.
SELECT sum(col) FROM test WHERE id >= 400000123 AND id < 2100000456;
3 changes: 2 additions & 1 deletion vortex-bench/sql/vortex/init.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

COPY (
SELECT
i AS id,
i % 1000 AS col,
(i * 2654435761) % 100000 AS col2
FROM range(250000000) t(i)
FROM range(2500000000) t(i)
) TO 'test.parquet' (FORMAT parquet);
Loading