[ https://issues.apache.org/jira/browse/CASSANDRA-14359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrés de la Peña reassigned CASSANDRA-14359: --------------------------------------------- Assignee: Andrés de la Peña > CREATE TABLE fails if there is a column called "default" with Cassandra 3.11.2 > ------------------------------------------------------------------------------ > > Key: CASSANDRA-14359 > URL: https://issues.apache.org/jira/browse/CASSANDRA-14359 > Project: Cassandra > Issue Type: Bug > Components: CQL > Environment: This is using Cassandra 3.11.2. This syntax was accepted > in 2.1.20. > Reporter: Andy Klages > Assignee: Andrés de la Peña > Priority: Minor > > 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: > {code:java} > CREATE TABLE simple ( > simplekey text PRIMARY KEY, > default text // THIS IS REJECTED > ); > {code} > I get this error: > {code:java} > SyntaxException: line 3:4 mismatched input 'default' expecting ')' (... > simplekey text PRIMARY KEY, [default]...) > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org