[
https://issues.apache.org/jira/browse/CALCITE-1219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15264385#comment-15264385
]
Sean Hsuan-Yi Chu commented on CALCITE-1219:
--------------------------------------------
[~julianhyde] I updated the PR. Since these newly added methods are more like
utilities which are not used in Calcite's core, should I still need to add test
cases for them?
> 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: Julian Hyde
>
> 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)