You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2015/08/25 06:13:45 UTC

[jira] [Resolved] (CASSANDRA-9247) DROP INDEX ks.index_name is a syntax error in 2.0

     [ https://issues.apache.org/jira/browse/CASSANDRA-9247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis resolved CASSANDRA-9247.
---------------------------------------
       Resolution: Won't Fix
    Fix Version/s:     (was: 2.0.x)

Closing out 2.0.

> DROP INDEX ks.index_name is a syntax error in 2.0
> -------------------------------------------------
>
>                 Key: CASSANDRA-9247
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9247
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Jim Witschey
>            Assignee: Carl Yeksigian
>            Priority: Minor
>
> In all versions of 2.0, statements like
> {{DROP INDEX ks.index_to_drop;}}
> fail with the error
> {{ErrorMessage code=2000 [Syntax error in CQL query] message="line 1:13 missing EOF at '.'"}}
> The error doesn't happen in any 2.1 versions or trunk. [The docs|http://docs.datastax.com/en/cql/3.1/cql/cql_reference/drop_index_r.html] don't indicate that the {{DROP INDEX}} statement should work any differently on 2.0.
> [Here|https://github.com/mambocab/cassandra-dtest/blob/drop_index_keyspace_bug/index_keyspace_bug.py] is a dtest that produces the error, but I think a patch should include a more isolated test for the component that's failing here.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)