[ https://issues.apache.org/jira/browse/HIVE-11918?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14935624#comment-14935624 ]
Julian Hyde commented on HIVE-11918: ------------------------------------ [~pxiong], I have a tentative fix for CALCITE-902 in https://github.com/julianhyde/incubator-calcite/commit/9adf259763a9c52a6db8d4a19425722fbedcaa6c. See whether this fix improves things in Hive. > Implement/Enable constant related optimization rules in Calcite > --------------------------------------------------------------- > > Key: HIVE-11918 > URL: https://issues.apache.org/jira/browse/HIVE-11918 > Project: Hive > Issue Type: Improvement > Reporter: Pengcheng Xiong > Assignee: Pengcheng Xiong > > Right now, Hive optimizer (Calcite) is short of the constant related > optimization rules. For example, constant folding, constant propagation and > constant transitive rules. Although Hive later provides those rules in the > logical optimizer, we would like to implement those inside Calcite. This will > benefit the current optimization as well as the optimization based on return > path that we are planning to use in the future. This JIRA is the umbrella > JIRA to implement/enable those rules. -- This message was sent by Atlassian JIRA (v6.3.4#6332)