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

CLI remove ascii column

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 0.7.8, 0.8.2
    • Legacy/Tools
    • None
    • Low

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

      Attachments

        1. CASSANDRA-2821-0.8.patch
          5 kB
          Pavel Yaskevich
        2. CASSANDRA-2821-0.7.patch
          3 kB
          Pavel Yaskevich

        Activity

          People

            xedin Pavel Yaskevich
            sdolgy Sasha Dolgy
            Pavel Yaskevich
            Brandon Williams
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: