Description
After HIVE-23100 went in, there was a missed opportunity merging IN clauses, which can be seen in ql/src/test/results/clientpositive/llap/vector_between_in.q.out .
filterExpr: (cdecimal1) IN (2365.8945945946, 881.0135135135, -3367.6517567568) (type: boolean)
was replaced by:
filterExpr: ((cdecimal1) IN (2365.8945945946, -3367.6517567568) or (cdecimal1) IN (881.0135135135)) (type: boolean)
The problem seems to be that with decimal type, we are considering values with different precision/scale as a different type, thus we do not merge them.
Attachments
Issue Links
- is caused by
-
HIVE-23100 Create RexNode factory and use it in CalcitePlanner
- Closed