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/03/30 01:54:05 UTC

[jira] [Commented] (CASSANDRA-2321) disallow to querying a counter CF with non-counter operation

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

Hudson commented on CASSANDRA-2321:
-----------------------------------

Integrated in Cassandra #817 (See [https://hudson.apache.org/hudson/job/Cassandra/817/])
    

> disallow to querying a counter CF with non-counter operation
> ------------------------------------------------------------
>
>                 Key: CASSANDRA-2321
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2321
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.8
>         Environment: Linux
>            Reporter: Mubarak Seyed
>            Assignee: Sylvain Lebresne
>            Priority: Minor
>             Fix For: 0.8
>
>         Attachments: 0001-Don-t-allow-normal-query-on-counter-CF.patch
>
>
> CounterColumnType.getString() returns hexString.
> {code}
> public String getString(ByteBuffer bytes)
> { 
>        return ByteBufferUtil.bytesToHex(bytes);
> }
> {code}
> and python stress.py reader returns
> [ColumnOrSuperColumn(column=None, super_column=SuperColumn(name='19', columns=[Column(timestamp=1299984960277, name='56', value='\x7f\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x08\x00\x00\x00\x00\x00\x00\x00,', ttl=None), Column(timestamp=1299985019923, name='57', value='\x7f\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00;\x00\x00\x00\x00\x00\x00\x08\xfd', ttl=None))]

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