cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-3054) CLI "drop index" doesn't handle numeric-only hex column identifiers properly
Date Fri, 19 Aug 2011 15:21:28 GMT

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

Hudson commented on CASSANDRA-3054:
-----------------------------------

Integrated in Cassandra-0.8 #286 (See [https://builds.apache.org/job/Cassandra-0.8/286/])
    Fix of numeric-only and string column names handling in CLI "drop index"
patch by Pavel Yaskevich; reviewed by Jonathan Ellis for CASSANDRA-3054

xedin : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1159657
Files : 
* /cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/cli/CliClient.java
* /cassandra/branches/cassandra-0.8/CHANGES.txt
* /cassandra/branches/cassandra-0.8/test/unit/org/apache/cassandra/cli/CliTest.java
* /cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/cli/Cli.g


> CLI "drop index" doesn't handle numeric-only hex column identifiers properly
> ----------------------------------------------------------------------------
>
>                 Key: CASSANDRA-3054
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3054
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 0.8.4
>            Reporter: Dan Kuebrich
>            Assignee: Pavel Yaskevich
>            Priority: Trivial
>             Fix For: 0.8.5
>
>         Attachments: CASSANDRA-3054.patch
>
>
> CLI drop index doesn't accept requests to drop columns whose hex names include only numeric
characters.  The 617070 column name below is col2.
> [default@Host] use MyKeyspace;
> Authenticated to keyspace: MyKeyspace
> [default@Host] drop index on MyCF.617070; 
> Syntax error at position 22: mismatched input '617070' expecting Identifier
> While drop index seems to parse correctly with alpha chars included:
> [default@Host] drop index on MyCF.617070x;
> Column '617070x' definition was not found in ColumnFamily 'MyCF'.
> [default@Host] drop index on MyCF.col2;
> Column 'col2' definition was not found in ColumnFamily 'MyCF'.
> cassandra-user thread: http://mail-archives.apache.org/mod_mbox/cassandra-user/201108.mbox/%3CB2D1533B-C69E-467A-9653-1D086E33227C@thelastpickle.com%3E

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message