You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "dan jatnieks (JIRA)" <ji...@apache.org> on 2015/11/21 00:25:11 UTC

[jira] [Created] (CASSANDRA-10747) CQL.textile syntax incorrectly includes optional keyspace for aggregate SFUNC and FINALFUNC

dan jatnieks created CASSANDRA-10747:
----------------------------------------

             Summary: CQL.textile syntax incorrectly includes optional keyspace for aggregate SFUNC and FINALFUNC
                 Key: CASSANDRA-10747
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10747
             Project: Cassandra
          Issue Type: Bug
          Components: Documentation and Website
            Reporter: dan jatnieks
            Priority: Trivial


[CQL.textile|https://github.com/apache/cassandra/blob/trunk/doc/cql3/CQL.textile] incorrectly includes an optional keyspace for the {{SFUNC}} and {{FINALFUNC}} parts of a {{CREATE AGGREGATE}} statement.

The grammar for 2.2 and 3.0 does not allow a keyspace to be specified here.

>From the CQL.textile:
{noformat}
<create-aggregate-stmt> ::= CREATE ( OR REPLACE )? 
                            AGGREGATE ( IF NOT EXISTS )?
                            ( <keyspace> '.' )? <aggregate-name>
                            '(' <arg-type> ( ',' <arg-type> )* ')'
                            SFUNC ( <keyspace> '.' )? <state-functionname>
                            STYPE <state-type>
                            ( FINALFUNC ( <keyspace> '.' )? <final-functionname> )?
                            ( INITCOND <init-cond> )?
{noformat}




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