[ https://issues.apache.org/jira/browse/CALCITE-1653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15878569#comment-15878569 ]
Jesus Camacho Rodriguez commented on CALCITE-1653: -------------------------------------------------- Simplifying cast on constant was a good idea, but to remain as extensible as we were before, I think we should rely on the planner associated Executor if it is available, instead of using default Calcite executor. [~julianhyde], what do you think? This should be an easy fix or am I missing something? > 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: Julian Hyde > > {{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)