Details
-
Bug
-
Status: Resolved
-
Low
-
Resolution: Fixed
-
None
-
Low
Description
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:
<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> )?