Rewrite to Druid not happening when tables are cached in Spark
hbutani opened this issue · comments
Harish Butani commented
The query rewrite to Druid is not happening when the spark tables are cached.
explain select
c_mktsegment,
sum(l_extendedprice) as price
from customer,
orders,
lineitem
where dateIsBefore(dateTime(`o_orderdate`),dateTime("1995-03-15")) and dateIsAfter(dateTime(`l_shipdate`),dateTime("1995-03-15"))
and c_custkey = o_custkey
and l_orderkey = o_orderkey
group by c_mktsegment
Harish Butani commented
commit d6a22d9