cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <>
Subject [jira] [Updated] (CASSANDRA-3068) Fix count()
Date Wed, 07 Sep 2011 14:12:10 GMT


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

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


View raw message