You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Kevin Liew (JIRA)" <ji...@apache.org> on 2016/07/13 22:08:20 UTC

[jira] [Commented] (PHOENIX-3054) Counting zero null rows returns an empty result set

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

Kevin Liew commented on PHOENIX-3054:
-------------------------------------

I made a mistake: the error occurs when comparing using `column1 = null` in the where clause

> Counting zero null rows returns an empty result set
> ---------------------------------------------------
>
>                 Key: PHOENIX-3054
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-3054
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.7.0
>            Reporter: Kevin Liew
>            Priority: Minor
>              Labels: count, count(*), null, sql
>
> Execute the following query on a table with zero null cells.
> {code}
> select count(*) from table where column1 is null
> {code}
> The result set should consist of one cell with the value `0` but the result set is empty.



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