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

Hudson commented on CASSANDRA-2821:
-----------------------------------

Integrated in Cassandra-0.8 #216 (See 
[https://builds.apache.org/job/Cassandra-0.8/216/])
    Proper function support and key validation for cli deletes.
Patch by Pavel Yaskevich, reviewed by brandonwilliams for CASSANDRA-2821

brandonwilliams : 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1147259
Files : 
* 
/cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/cli/CliClient.java
* 
/cassandra/branches/cassandra-0.8/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

        

Reply via email to