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

get_range_slice() returns removed columns

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Low
    • Resolution: Fixed
    • Fix Version/s: 0.5
    • Component/s: None
    • Labels:
      None
    • Environment:

      Linux

    • Severity:
      Low

      Description

      Here's an example (using my new python library at http://github.com/vomjom/pycassa ):

      >>> import pycassa
      >>> test = pycassa.ColumnFamily(pycassa.connect(), 'Test Keyspace', 'Test UTF8')
      >>> list(test.get_range())
      []
      >>> test.insert('key',

      {'column': 'value'}

      )
      1261512409
      >>> list(test.get_range())
      [('key',

      {'column': 'value'}

      )]
      >>> test.remove('key', 'column')
      1261512421
      >>> list(test.get_range())
      [('key',

      {'column': 'K0\xd2\x85'}

      )]

        Attachments

        1. 647.patch
          5 kB
          Jonathan Ellis

          Activity

            People

            • Assignee:
              jbellis Jonathan Ellis
              Reporter:
              vomjom Jonathan Hseu
              Authors:
              Jonathan Ellis
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: