should be it
This commit is contained in:
11
external/duckdb/benchmark/tpch/expression_reordering/adaptive_mixed_reordering_and.benchmark
vendored
Normal file
11
external/duckdb/benchmark/tpch/expression_reordering/adaptive_mixed_reordering_and.benchmark
vendored
Normal 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
|
||||
11
external/duckdb/benchmark/tpch/expression_reordering/adaptive_mixed_reordering_or.benchmark
vendored
Normal file
11
external/duckdb/benchmark/tpch/expression_reordering/adaptive_mixed_reordering_or.benchmark
vendored
Normal 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
|
||||
11
external/duckdb/benchmark/tpch/expression_reordering/adaptive_numeric_reordering_and.benchmark
vendored
Normal file
11
external/duckdb/benchmark/tpch/expression_reordering/adaptive_numeric_reordering_and.benchmark
vendored
Normal 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
|
||||
11
external/duckdb/benchmark/tpch/expression_reordering/adaptive_numeric_reordering_or.benchmark
vendored
Normal file
11
external/duckdb/benchmark/tpch/expression_reordering/adaptive_numeric_reordering_or.benchmark
vendored
Normal 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
|
||||
11
external/duckdb/benchmark/tpch/expression_reordering/adaptive_string_reordering_and.benchmark
vendored
Normal file
11
external/duckdb/benchmark/tpch/expression_reordering/adaptive_string_reordering_and.benchmark
vendored
Normal 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
|
||||
11
external/duckdb/benchmark/tpch/expression_reordering/adaptive_string_reordering_or.benchmark
vendored
Normal file
11
external/duckdb/benchmark/tpch/expression_reordering/adaptive_string_reordering_or.benchmark
vendored
Normal 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
|
||||
Reference in New Issue
Block a user