cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Russ Hatch (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-7895) ALTER TYPE <name> RENAME TO <name> no longer parses as valid cql
Date Fri, 05 Sep 2014 23:45:29 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-7895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14123831#comment-14123831
] 

Russ Hatch commented on CASSANDRA-7895:
---------------------------------------

We've got some dtests from the past that successfully used the type rename syntax so I just
want to be sure it's not a bug.

If the syntax is no longer supported I will adjust the tests.

/cc [~slebresne]

> 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)

Mime
View raw message