[ 
https://issues.apache.org/jira/browse/CALCITE-3872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17067937#comment-17067937
 ] 

Julian Hyde commented on CALCITE-3872:
--------------------------------------

[~fan_li_ya] I see that your PR is straying into constant reduction. Constant 
reduction is a solved problem (probably if you use the right RexExecutor). I 
don't think we need extra code in RexSimplify for constant reduction.

> Simplify expressions with unary minus
> -------------------------------------
>
>                 Key: CALCITE-3872
>                 URL: https://issues.apache.org/jira/browse/CALCITE-3872
>             Project: Calcite
>          Issue Type: Improvement
>          Components: core
>            Reporter: Liya Fan
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Support simplifying expression - ( - ( x ) ) as x.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to