You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Benjamin Lerer (JIRA)" <ji...@apache.org> on 2015/08/18 10:09:45 UTC

[jira] [Created] (CASSANDRA-10114) Allow count(*) and count(1) to be use as normal aggregation

Benjamin Lerer created CASSANDRA-10114:
------------------------------------------

             Summary: Allow count(*) and count(1) to be use as normal aggregation
                 Key: CASSANDRA-10114
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10114
             Project: Cassandra
          Issue Type: Bug
            Reporter: Benjamin Lerer
            Assignee: Benjamin Lerer
            Priority: Minor
             Fix For: 2.2.x


For the following query: 
{code}
SELECT count(*), max(timestamp), min(timestamp) FROM myData WHERE id = ?
{code}
Cassandra will throw a {{InvalidSyntaxException}}.

We should allow count(*) and count(1) to be queried with other aggregations or columns



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