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

Johnny Miller updated CASSANDRA-18092:
--------------------------------------
    Description: 
{{*Works -* CREATE ROLE IF NOT EXISTS test WITH PASSWORD='somepassword' AND 
LOGIN=true;}}
 
{{*Works* - CREATE ROLE IF NOT EXISTS test123 WITH PASSWORD='somepassword' AND 
LOGIN=true;}}
 
{{*Breaks* - CREATE ROLE IF NOT EXISTS 123test WITH PASSWORD='somepassword' AND 
LOGIN=true;}}
{color:#de350b}{{SyntaxException: line 1:26 no viable alternative at input 
'123' (CREATE ROLE IF NOT EXISTS [123]...)}}{color}{{{{}}{}}}
 
It would be helpful and more consistent to be able to prefix roles with a 
numeric value instead of only being able to do this as a suffix.

Env Details are:

[cqlsh 6.0.0 | Cassandra 4.0.3 | CQL spec 3.4.5 | Native protocol v5]

 

 

 

 

  was:
{{*Works -* CREATE ROLE IF NOT EXISTS test WITH PASSWORD='somepassword' AND 
LOGIN=true;}}
 
{{*Works* - CREATE ROLE IF NOT EXISTS test123 WITH PASSWORD='somepassword' AND 
LOGIN=true;}}
 
{{*Breaks* - CREATE ROLE IF NOT EXISTS 123test WITH PASSWORD='somepassword' AND 
LOGIN=true;}}
{color:#de350b}{{SyntaxException: line 1:26 no viable alternative at input 
'123' (CREATE ROLE IF NOT EXISTS [123]...)}}{color}{{{}{}}}
 
It would be helpful and more consistent to be able to prefix roles with a 
numeric value instead of only being able to do this as a suffix.

 

 

 


> Allow DB role names to prefix with a number
> -------------------------------------------
>
>                 Key: CASSANDRA-18092
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18092
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Johnny Miller
>            Priority: Normal
>
> {{*Works -* CREATE ROLE IF NOT EXISTS test WITH PASSWORD='somepassword' AND 
> LOGIN=true;}}
>  
> {{*Works* - CREATE ROLE IF NOT EXISTS test123 WITH PASSWORD='somepassword' 
> AND LOGIN=true;}}
>  
> {{*Breaks* - CREATE ROLE IF NOT EXISTS 123test WITH PASSWORD='somepassword' 
> AND LOGIN=true;}}
> {color:#de350b}{{SyntaxException: line 1:26 no viable alternative at input 
> '123' (CREATE ROLE IF NOT EXISTS [123]...)}}{color}{{{{}}{}}}
>  
> It would be helpful and more consistent to be able to prefix roles with a 
> numeric value instead of only being able to do this as a suffix.
> Env Details are:
> [cqlsh 6.0.0 | Cassandra 4.0.3 | CQL spec 3.4.5 | Native protocol v5]
>  
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to