[ 
https://issues.apache.org/jira/browse/CASSANDRA-4186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13266879#comment-13266879
 ] 

Pavel Yaskevich commented on CASSANDRA-4186:
--------------------------------------------

+1, with one nit - instead of doing c= all the time in native_type rule, you 
can just move "c" before brackets like : c=(... | ... | ...) { return $c.text; 
};
                
> CQL3: make some keywords unreserved
> -----------------------------------
>
>                 Key: CASSANDRA-4186
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4186
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: API
>    Affects Versions: 1.1.0
>            Reporter: Sylvain Lebresne
>            Assignee: Sylvain Lebresne
>            Priority: Minor
>              Labels: cql3
>             Fix For: 1.1.1
>
>         Attachments: 0001-Add-unreserved-words.txt
>
>
> CQL has quite a few keywords. Currently all of them are reserved, but this is 
> not always necessary. PostreSQL for instance distinguish between reserved 
> keywords and non-reserved ones, and allow things like {{key}}, {{timestamp}} 
> or {{type}} as identifiers. I suggest we do the same as convenience for the 
> user.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to