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

get_range_slice() returns removed columns

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 0.5
    • None
    • None
    • Linux

    • 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

            jbellis Jonathan Ellis
            vomjom Jonathan Hseu
            Jonathan Ellis
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: