cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Witschey (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-9247) DROP INDEX ks.table_name is a syntax error in 2.0
Date Mon, 27 Apr 2015 14:37:43 GMT
Jim Witschey created CASSANDRA-9247:
---------------------------------------

             Summary: DROP INDEX ks.table_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
             Fix For: 2.0.15


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)

Mime
View raw message