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

Sylvain Lebresne commented on CASSANDRA-8850:
---------------------------------------------

Any particular reason why that was a mistake? Using identifier (provided we do 
enforce the usual rules for identifier that is, including allowing 
double-quoting them for case sensitivity) kinds of feels more consistent to me 
with tables, keyspace etc... (as in, what comes after {{CREATE XXX}} is always 
an identifier). And in truth, while I don't really care too much, switching to 
strings make it a bit ugly for maintaining backward compatibility with CREATE 
USER.

> clean up options syntax for create/alter role 
> ----------------------------------------------
>
>                 Key: CASSANDRA-8850
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8850
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Sam Tunnicliffe
>            Assignee: Sam Tunnicliffe
>            Priority: Minor
>             Fix For: 3.0
>
>         Attachments: 8850-v2.txt, 8850.txt
>
>
> {{CREATE/ALTER ROLE}} syntax would be improved by using {{WITH}} and {{AND}} 
> in a way more consistent with other statements.
> e.g. {{CREATE ROLE foo WITH LOGIN AND SUPERUSER AND PASSWORD 'password'}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to