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

Remus Rusanu commented on CALCITE-1653:
---------------------------------------

I had to leave in the test for null executor because there are several callers 
that pass in an executor but it may be null, eg. {{RelBuilder.project}}. 

> Allow for custom RelOptPlanner.Executor in RexUtil.simplify
> -----------------------------------------------------------
>
>                 Key: CALCITE-1653
>                 URL: https://issues.apache.org/jira/browse/CALCITE-1653
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Remus Rusanu
>            Assignee: Remus Rusanu
>         Attachments: CALCITE-1653.00.patch
>
>
> {{RexUtil.simplify}} (and derivatives) use a default {{EXECUTOR}} for 
> evaluating literals and expression in {{simplifyCast}}. This causes value 
> differences from Hive, triggering issues like CALCITE-1650, CALCITE-1651. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to