You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Siddharth Teotia (JIRA)" <ji...@apache.org> on 2019/02/04 22:39:00 UTC

[jira] [Created] (CALCITE-2829) Fix RexSimplify#processRange cast issue

Siddharth Teotia created CALCITE-2829:
-----------------------------------------

             Summary: Fix RexSimplify#processRange cast issue
                 Key: CALCITE-2829
                 URL: https://issues.apache.org/jira/browse/CALCITE-2829
             Project: Calcite
          Issue Type: Bug
            Reporter: Siddharth Teotia
            Assignee: Julian Hyde


Range expressions like <ts> = 'literal' AND <ts> < 'literal' trigger ClassCastException as literal are implicitly casted differently between =/<> operators and other comparison operators. Apply the same casting rules for comparison to =/<> calls when processing ranges, so that all the terms have the same type for literals.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)