[ https://issues.apache.org/jira/browse/HIVE-12543?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jesus Camacho Rodriguez updated HIVE-12543: ------------------------------------------- Attachment: HIVE-12543.02.patch New version of the patch, still merged with HIVE-12478. The patch removes 2 out of 3 calls to ConstantPropagate; the last call needs further investigation, as there is some interaction with RewriteGBUsingIndex rule. ReduceExpressions in Calcite needed to be extended to remove {{isnotnull}} factors if there is already a null filtering condition in the same conjunction. Further, recognition of {{case}} in Calcite needed to be implemented so we can take advantage of the special logic in Reduce expressions for {{case}}. Finally, recognition of {{!=}} as "not equals" operator in Calcite has also been included. > Disable Hive ConstantPropagate optimizer when CBO has optimized the plan > ------------------------------------------------------------------------ > > Key: HIVE-12543 > URL: https://issues.apache.org/jira/browse/HIVE-12543 > Project: Hive > Issue Type: Sub-task > Components: CBO, Logical Optimizer > Affects Versions: 2.0.0 > Reporter: Jesus Camacho Rodriguez > Assignee: Jesus Camacho Rodriguez > Attachments: HIVE-12543.01.patch, HIVE-12543.02.patch, > HIVE-12543.patch > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)