[
https://issues.apache.org/jira/browse/PHOENIX-3267?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15603648#comment-15603648
]
ASF GitHub Bot commented on PHOENIX-3267:
-----------------------------------------
GitHub user lomoree opened a pull request:
https://github.com/apache/phoenix/pull/219
PHOENIX-3267 Replace use of SELECT null with CAST(null AS <type>)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/bloomberg/phoenix master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/phoenix/pull/219.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #219
----
commit d8aaa60bd49aa0fc29d5f4e97288199f18d56b1b
Author: Eric Lomore <[email protected]>
Date: 2016-10-25T00:04:40Z
PHOENIX-3267 Replace use of SELECT null with CAST(null AS <type>)
----
> Replace use of SELECT null with CAST(null AS <type>)
> ----------------------------------------------------
>
> Key: PHOENIX-3267
> URL: https://issues.apache.org/jira/browse/PHOENIX-3267
> Project: Phoenix
> Issue Type: Sub-task
> Reporter: James Taylor
> Assignee: Eric Lomore
>
> It appears that Calcite doesn't allow null as a SELECT expression. If this is
> difficult to change, we can change our tests to cast null to a given data
> type instead, like this: {{CAST(null AS VARCHAR)}}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)