You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "James Taylor (JIRA)" <ji...@apache.org> on 2015/07/24 21:34:05 UTC

[jira] [Commented] (PHOENIX-2141) ComparisonExpression should return Boolean null if either operand is null

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

James Taylor commented on PHOENIX-2141:
---------------------------------------

Thanks, [~maryannxue].  Yes, for primitive types, PhoenixResultSet will return 0, but you can use resultSet.wasNull() to determine if it was null instead of 0.

+1 (assuming all existing unit tests pass).

> ComparisonExpression should return Boolean null if either operand is null
> -------------------------------------------------------------------------
>
>                 Key: PHOENIX-2141
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2141
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Maryann Xue
>            Assignee: Maryann Xue
>            Priority: Minor
>         Attachments: PHOENIX-2141.patch
>
>




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