cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Lerer (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-9247) DROP INDEX ks.index_name is a syntax error in 2.0
Date Wed, 20 May 2015 08:20:01 GMT

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

Benjamin Lerer updated CASSANDRA-9247:
--------------------------------------
    Assignee: Carl Yeksigian  (was: Benjamin Lerer)

> 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
>             Fix For: 2.0.x
>
>
> 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