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

ALTER TYPE <name> RENAME TO <name> no longer parses as valid cql

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Low
    • Resolution: Fixed
    • Fix Version/s: 2.1.0, 2.1.1
    • Component/s: None
    • Labels:
    • Severity:
      Low

      Description

      Type renaming seems to be broken. The error looks like perhaps the syntax has changed or there's a problem parsing the cql.

      cqlsh:test> create type foo (somefield int);
      cqlsh:test> alter type foo rename to bar;
      <ErrorMessage code=2000 [Syntax error in CQL query] message="line 1:22 no viable alternative at input 'to' (alter type foo rename [to] bar...)">
      

        Attachments

        1. CASSANDRA-2.1.0-7895.patch
          2 kB
          Mikhail Stepura

          Issue Links

            Activity

              People

              • Assignee:
                mishail Mikhail Stepura
                Reporter:
                rhatch Russ Hatch
                Authors:
                Mikhail Stepura
                Reviewers:
                Aleksey Yeschenko
                Tester:
                Russ Hatch
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: