Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-2321

disallow to querying a counter CF with non-counter operation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 0.8 beta 1
    • None
    • None
    • Linux

    • Low

    Description

      CounterColumnType.getString() returns hexString.

      public String getString(ByteBuffer bytes)
      { 
             return ByteBufferUtil.bytesToHex(bytes);
      }
      

      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))]

      Attachments

        Activity

          People

            slebresne Sylvain Lebresne
            mubarak.seyed Mubarak Seyed
            Sylvain Lebresne
            Jonathan Ellis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: