[ https://issues.apache.org/jira/browse/CASSANDRA-7895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14124395#comment-14124395 ]
Sylvain Lebresne commented on CASSANDRA-7895: --------------------------------------------- We've removed type renames for now (CASSANDRA-6940, but it's possible the cqlsh completion needs to be updated) so the error message of the description is correct. We do still support renaming fields inside a type though. > ALTER TYPE <name> RENAME TO <name> no longer parses as valid cql > ---------------------------------------------------------------- > > Key: CASSANDRA-7895 > URL: https://issues.apache.org/jira/browse/CASSANDRA-7895 > Project: Cassandra > Issue Type: Bug > Reporter: Russ Hatch > > Type renaming seems to be broken. The error looks like perhaps the syntax has > changed or there's a problem parsing the cql. > {noformat} > 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...)"> > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)