Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-18092

Allow DB role names to prefix with a number

    XMLWordPrintableJSON

Details

    • Operability
    • Normal
    • All
    • None

    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;
      SyntaxException: line 1:26 no viable alternative at input '123' (CREATE ROLE IF NOT EXISTS [123]...){}
       
      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]

       

       

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            johnny15676 Johnny Miller
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: