You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we need a way to map an RDD of Tuple2(Int, Int) to an RDD of Tuple4(Int, Int, Int, Int)
This is really required because in TPCH queries we have expressions like
select
sum(l_quantity) as sum_qty,
sum(l_extendedprice) as sum_base_price,
...,
avg(l_quantity) as avg_qty,
avg(l_extendedprice) as avg_price,
from
lineitem
The text was updated successfully, but these errors were encountered:
For example, to simulate this query
Select a, b, a * b, a+b from
MyTable
we need a way to map an RDD of Tuple2(Int, Int) to an RDD of Tuple4(Int, Int, Int, Int)
This is really required because in TPCH queries we have expressions like
select
sum(l_quantity) as sum_qty,
sum(l_extendedprice) as sum_base_price,
...,
avg(l_quantity) as avg_qty,
avg(l_extendedprice) as avg_price,
from
lineitem
The text was updated successfully, but these errors were encountered: