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

[jira] [Updated] (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:all-tabpanel ]

Maryann Xue updated PHOENIX-2141:
---------------------------------
    Attachment: PHOENIX-2141.patch

http://www.onecowstanding.com/blog/2011/1/21/handling-nullable-database-columns-with-jdbc
Since the JDBC interface returns primitive types, it can only be "false" or "0" for the boolean and number types. But the getObject() method should still return null.

> 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)