[ 
https://issues.apache.org/jira/browse/CASSANDRA-3068?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jonathan Ellis updated CASSANDRA-3068:
--------------------------------------

    Attachment: 3068-v2.txt

v2 attached to fix above problems.

I also noticed that SQL count(expression) is defined as "the number of input 
rows for which the value of expression is not null," with count(*) special 
cased as "the number of input rows."

I don't think we want to try to support count(expression) for now, can we 
restrict the grammar to count(*), and possibly count(1) since that is also 
frequently used by Oracle veterans?

> Fix count()
> -----------
>
>                 Key: CASSANDRA-3068
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3068
>             Project: Cassandra
>          Issue Type: Sub-task
>          Components: API, Core
>            Reporter: Jonathan Ellis
>            Assignee: Jonathan Ellis
>              Labels: cql
>             Fix For: 1.0
>
>         Attachments: 3068-v2.txt, 3068.txt
>
>
> count() has been broken since it was introduced in CASSANDRA-1704.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to