[ 
https://issues.apache.org/jira/browse/CASSANDRA-5993?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sylvain Lebresne resolved CASSANDRA-5993.
-----------------------------------------

    Resolution: Not A Problem

As described here: http://cassandra.apache.org/doc/cql3/CQL.html#appendixA, 
'desc' is a reserved keyword of CQL. And as described a little before in that 
same document: http://cassandra.apache.org/doc/cql3/CQL.html#identifiers, you 
can use double-quotes if you really want to name a column that way (which 
probably won't be excessively convenient but is possible).
                
> Can't create CQL columns named 'desc'
> -------------------------------------
>
>                 Key: CASSANDRA-5993
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5993
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: David Semeria
>            Priority: Minor
>             Fix For: 2.0
>
>
> create table test ( id text primary key, desc text);
> Bad Request: line 1:41 mismatched input 'desc' expecting ')'

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to