You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2011/07/15 22:34:00 UTC
[jira] [Commented] (CASSANDRA-2821) CLI remove ascii column
[ https://issues.apache.org/jira/browse/CASSANDRA-2821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13066186#comment-13066186 ]
Hudson commented on CASSANDRA-2821:
-----------------------------------
Integrated in Cassandra-0.7 #529 (See [https://builds.apache.org/job/Cassandra-0.7/529/])
Fix column deletion in the cli.
Patch by Pavel Yaskevich, reviewed by brandonwilliams for CASSANDRA-2821
brandonwilliams : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1147258
Files :
* /cassandra/branches/cassandra-0.7/src/java/org/apache/cassandra/cli/CliClient.java
* /cassandra/branches/cassandra-0.7/test/unit/org/apache/cassandra/cli/CliTest.java
> CLI remove ascii column
> -----------------------
>
> Key: CASSANDRA-2821
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2821
> Project: Cassandra
> Issue Type: Bug
> Components: Tools
> Affects Versions: 0.7.6, 0.8.0
> Reporter: Sasha Dolgy
> Assignee: Pavel Yaskevich
> Priority: Minor
> Fix For: 0.7.8, 0.8.2
>
> Attachments: CASSANDRA-2821-0.7.patch, CASSANDRA-2821-0.8.patch
>
>
> [default@sdo] incr counters[ascii('EU')][ascii('null')];
> Value incremented.
> [default@sdo] list counters;
> Using default limit of 100
> -------------------
> RowKey: 4555
> => (counter=6e756c6c, value=1)
> 1 Row Returned.
> [default@sdo] del counters[ascii('EU')][ascii('null')];
> org.apache.cassandra.db.marshal.MarshalException: cannot parse
> 'FUNCTION_CALL' as hex bytes
> [default@sdo]
> Suggested workaround, although not tested:
> assume counters comparator as bytes;
> del counters['EU'][0];
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira