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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 2.1.0, 2.1.1
    • None
    • 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

              mishail Mikhail Stepura
              rhatch Russ Hatch
              Mikhail Stepura
              Aleksey Yeschenko
              Russ Hatch Russ Hatch
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: