[
https://issues.apache.org/jira/browse/PHOENIX-3054?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
James Taylor updated PHOENIX-3054:
----------------------------------
Description:
Execute the following query on a table with zero null cells.
{code}
select count(*) from table where column1 = null
{code}
The result set should consist of one cell with the value `0` but the result set
is empty.
was:
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.
> 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 = 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)