Hash Multi-Join resides in L1/benchmarks/hash_multi_join directory.
This benchmark tests the performance of hashMultiJoin primitive with the following query.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as revenue
FROM
Orders,
Lineitem
WHERE
l_orderkey = o_orderkey
;
- Here
Ordersis a self-made table filled with random data,which contains a column namedo_orderkey; Lineitemis also a table, which contains 3 columns namedl_orderkey,l_extendedpriceandl_discount.