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,13 @@
# name: benchmark/micro/join/hashjoin_lhsarithmetic.benchmark
# description: Hash Join where LHS performs case operation
# group: [join]
name Equality Join + Arithmetic (No Index)
group join
load
CREATE TABLE t1 AS SELECT i as v1, i as v2 from range (0,10000) t(i);
CREATE TABLE t2 AS SELECT i as v1, i as v2 from range (0,10000000) t(i);
run
SELECT CASE WHEN t1.v1 > 50 THEN t1.v1+t1.v2 ELSE t1.v1*t1.v2 END FROM t1 JOIN t2 USING (v1);