should be it

This commit is contained in:
2025-10-24 19:21:19 -05:00
parent a4b23fc57c
commit f09560c7b1
14047 changed files with 3161551 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
# name: benchmark/tpch/expression_reordering/adaptive_mixed_reordering_and.benchmark
# description: Re-order mixed comparisons adaptively
# group: [expression_reordering]
include benchmark/tpch/tpch_load.benchmark.in
run
SELECT COUNT(*) FROM lineitem WHERE l_returnflag = 'R' AND l_orderkey > 5000 AND l_shipdate > DATE '1990-01-01';
result I sf=1
1477624

View File

@@ -0,0 +1,11 @@
# name: benchmark/tpch/expression_reordering/adaptive_mixed_reordering_or.benchmark
# description: Re-order mixed comparisons adaptively
# group: [expression_reordering]
include benchmark/tpch/tpch_load.benchmark.in
run
SELECT COUNT(*) FROM lineitem WHERE l_returnflag = 'R' OR l_orderkey > 5000 OR l_shipdate > DATE '1990-01-01';
result I sf=1
6001215

View File

@@ -0,0 +1,11 @@
# name: benchmark/tpch/expression_reordering/adaptive_numeric_reordering_and.benchmark
# description: Re-order numeric comparisons adaptively
# group: [expression_reordering]
include benchmark/tpch/tpch_load.benchmark.in
run
SELECT COUNT(*) FROM lineitem WHERE l_quantity < 11 AND l_shipdate < DATE '1998-09-02' AND l_receiptdate < DATE '1998-09-23' AND l_tax < 0.05;
result I sf=1
656007

View File

@@ -0,0 +1,11 @@
# name: benchmark/tpch/expression_reordering/adaptive_numeric_reordering_or.benchmark
# description: Re-order numeric comparisons adaptively
# group: [expression_reordering]
include benchmark/tpch/tpch_load.benchmark.in
run
SELECT COUNT(*) FROM lineitem WHERE l_quantity < 11 OR l_shipdate < DATE '1998-09-02' OR l_receiptdate < DATE '1998-09-23' OR l_tax < 0.05;
result I sf=1
5974930

View File

@@ -0,0 +1,11 @@
# name: benchmark/tpch/expression_reordering/adaptive_string_reordering_and.benchmark
# description: Re-order string comparisons adaptively
# group: [expression_reordering]
include benchmark/tpch/tpch_load.benchmark.in
run
SELECT COUNT(*) FROM lineitem WHERE l_comment LIKE '%_%' AND l_comment LIKE '%s%' AND l_comment LIKE '%str%';
result I sf=1
279725

View File

@@ -0,0 +1,11 @@
# name: benchmark/tpch/expression_reordering/adaptive_string_reordering_or.benchmark
# description: Re-order string comparisons adaptively
# group: [expression_reordering]
include benchmark/tpch/tpch_load.benchmark.in
run
SELECT COUNT(*) FROM lineitem WHERE l_comment LIKE '%_%' OR l_comment LIKE '%s%' OR l_comment LIKE '%str%';
result I sf=1
6001215