You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Csaba Skrabak (JIRA)" <ji...@apache.org> on 2017/03/10 15:02:04 UTC

[jira] [Commented] (PHOENIX-3631) Null pointer error when case expression returns null

    [ https://issues.apache.org/jira/browse/PHOENIX-3631?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15905206#comment-15905206 ] 

Csaba Skrabak commented on PHOENIX-3631:
----------------------------------------

I just tried to reproduce in a sandbox with HDP-2.5.0.0. No luck with your example, it returned the expected empty rows (as many as tversion table contains, with an only column called null.) Do you happen to have the full exception text with stack trace?


> Null pointer error when case expression returns null
> ----------------------------------------------------
>
>                 Key: PHOENIX-3631
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-3631
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.7.0
>         Environment: Hortonworks 2.5.3
>            Reporter: N Campbell
>            Priority: Minor
>
> phoenix-4.7.0.2.5.3.0-37-client
> select case when 1 = 1 then null end  from TVERSION
> Remote driver error: NullPointerException: (null exception message)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)