[jira] [Updated] (CASSANDRA-2821) CLI remove ascii column
[ 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
[jira] [Updated] (CASSANDRA-2821) CLI remove ascii column
[ https://issues.apache.org/jira/browse/CASSANDRA-2821?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pavel Yaskevich updated CASSANDRA-2821: --- Reviewer: brandon.williams (was: jbellis) 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
[jira] [Updated] (CASSANDRA-2821) CLI remove ascii column
[ https://issues.apache.org/jira/browse/CASSANDRA-2821?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brandon Williams updated CASSANDRA-2821: Fix Version/s: (was: 0.7.7) 0.7.8 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
[jira] [Updated] (CASSANDRA-2821) CLI remove ascii column
[ https://issues.apache.org/jira/browse/CASSANDRA-2821?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis updated CASSANDRA-2821: -- Description: [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]; was: [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]; Fix Version/s: 0.8.2 Assignee: Pavel Yaskevich Summary: CLI remove ascii column (was: CLI remove null column) Edit to clarify there is nothing magic about string 'null'. Probably affects 0.7 too? 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.8.0 Reporter: Sasha Dolgy Assignee: Pavel Yaskevich Priority: Minor Fix For: 0.8.2 [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