You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Sean Hsuan-Yi Chu (JIRA)" <ji...@apache.org> on 2016/04/28 05:52:12 UTC

[jira] [Created] (CALCITE-1219) Add a method to SqlOperatorBinding to help determine if an operand is Literal or not

Sean Hsuan-Yi Chu created CALCITE-1219:
------------------------------------------

             Summary: Add a method to SqlOperatorBinding to help determine if an operand is Literal or not
                 Key: CALCITE-1219
                 URL: https://issues.apache.org/jira/browse/CALCITE-1219
             Project: Calcite
          Issue Type: New Feature
          Components: core
            Reporter: Sean Hsuan-Yi Chu
            Assignee: Sean Hsuan-Yi Chu


When Drill is doing type inference, a decimal {color:red} literal {color} can be treated as double in some cases. 

However, SqlOperatorBinding has not had a method to tell the caller if an operand is literal or not. This JIRA proposes adding such a helper method. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)