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

Pavel Yaskevich updated CASSANDRA-2821:
---------------------------------------

    Attachment: CASSANDRA-2821-0.7.patch
                CASSANDRA-2821-0.8.patch

Proper function support and key validation (0.8 only) for DEL command.

Both rebased with latest versions of their branches.



> 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.7, 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