Details
-
Bug
-
Status: Resolved
-
Low
-
Resolution: Fixed
-
None
-
This is using Cassandra 3.11.2. This syntax was accepted in 2.1.20.
-
Low
Description
My project is upgrading from Cassandra 2.1 to 3.11. We have a table whose column name is "default". The Cassandra 3.11.2 is rejecting it. I don't see "default" as a keyword in the CQL spec.
To reproduce, try adding the following:
CREATE TABLE simple ( simplekey text PRIMARY KEY, default text // THIS IS REJECTED );
I get this error:
SyntaxException: line 3:4 mismatched input 'default' expecting ')' (... simplekey text PRIMARY KEY, [default]...)