Files
email-tracker/external/duckdb/benchmark/tpch/partition/partition_pushdown_csv.benchmark
2025-10-24 19:21:19 -05:00

20 lines
550 B
Plaintext

# name: benchmark/tpch/partition/partition_pushdown_csv.benchmark
# description: Join filter pushdown into hive partitions
# group: [partition]
name Hive Filter Join Filter Pushdown (CSV)
group partition
subgroup tpch
require tpch
load
CALL dbgen(sf=1);
COPY (FROM lineitem ORDER BY l_shipdate) TO '${BENCHMARK_DIR}/lineitem_partitioned_shipdate_csv' (FORMAT CSV, PARTITION_BY l_shipdate);
run
SELECT COUNT(*) from '${BENCHMARK_DIR}/lineitem_partitioned_shipdate_csv/**/*.csv' WHERE l_shipdate=(SELECT MAX(l_shipdate) FROM lineitem)
result I
18