Hash Join V2 resides in the L1/benchmarks/hash_join_v2
directory. This benchmark tests the performance of hashJoinMPU from hash_join_v2.hpp with the following query:
SELECT SUM(l_extendedprice * (1 - l_discount)) as revenue FROM Orders, Lineitem WHERE l_orderkey = o_orderkey ;
Here, Orders
is a self-made table filled with random data, which contains a column named o_orderkey
. Lineitem
is also a table, which contains three columns named l_orderkey
, l_extendedprice
, and l_discount
.