[
https://issues.apache.org/jira/browse/PHOENIX-3264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15504354#comment-15504354
]
Eric Lomore commented on PHOENIX-3264:
--------------------------------------
Hi Julian- Thanks that makes sense. I've looked into this more, and attempted
use of the SqlToRelConverter as well. But, to instantiate these objects/classes
you need a lot of different objects (SqlValidator in particular) that as far as
I can tell this method wouldn't have access to at runtime.
Are we sure that this is the right approach or might we need to use/create a
different utility for this?
{code}SqlToRelConverter.java{code}
!objectdependencies.png!
{code}SqlNodeToRexConverterImpl.java{code}
!objectdependencies2.png!
> Allow TRUE and FALSE to be used as literal constants
> ----------------------------------------------------
>
> Key: PHOENIX-3264
> URL: https://issues.apache.org/jira/browse/PHOENIX-3264
> Project: Phoenix
> Issue Type: Sub-task
> Reporter: James Taylor
> Attachments: SqlLiteral.png, SqlNodeToRexConverterImpl.png,
> SqlOptionNode.png, objectdependencies.png, objectdependencies2.png,
> stacktrace.png
>
>
> Phoenix supports TRUE and FALSE as boolean literals, but perhaps Calcite
> doesn't? Looks like this is leading to a fair number of failures.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)