Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.1.2
-
None
Description
...as stated in subject. Script to reproduce is attached.
Query and materialized view are as follows:
create materialized view view5 stored as orc as (select prod_id, cust_id, store_id, sale_date, qty, amt, descr from sales where cust_id + prod_id > 1 + 2);
explain extended select prod_id, cust_id from sales where prod_id + cust_id > 1 + 2;
Attachments
Attachments
Issue Links
- is caused by
-
CALCITE-3914 Improve SubstitutionVisitor to consider RexCall of type PLUS and TIMES for canonicalization
- Closed
- Is contained by
-
HIVE-23456 Upgrade Calcite version to 1.25.0
- Closed