[
https://issues.apache.org/jira/browse/CALCITE-2556?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16613646#comment-16613646
]
Julian Hyde commented on CALCITE-2556:
--------------------------------------
Here (and also CALCITE-2555) we're getting into the realm of constant-folding.
All of the nodes in the expression are literals. Where does the responsibility
of the RexSimplifier stop? We need to draw the line otherwise we will end up
making RexSimplifier into a (worse) constant folder.
> RexSimplify: not(trueLiteral) could be simplified to false
> ----------------------------------------------------------
>
> Key: CALCITE-2556
> URL: https://issues.apache.org/jira/browse/CALCITE-2556
> Project: Calcite
> Issue Type: Improvement
> Components: core
> Affects Versions: 1.17.0
> Reporter: Vladimir Sitnikov
> Assignee: Julian Hyde
> Priority: Major
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)