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

get_paged_slice does not obey SlicePredicate

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Low
    • Resolution: Cannot Reproduce
    • None
    • Legacy/CQL
    • None

    Description

      When experimenting with WideRow support, I noticed that it is not possible to specify a bounding SlicePredicate. This means that, no matter what you may wish, the entire Column Family will be used during a get_paged_slice call. This is unfortunate, if (for example) you are attempting to do MapReduce over a subset of your column range.

      get_paged_slice should support a SlicePredicate, which will bound the column range over which data is returned. It seems like this SlicePredicate should be optional, so that existing code is not broken--when the SlicePredicate is not specified, have it default to going over the entire column range.

      Attachments

        1. CASSANDRA-4816.patch
          30 kB
          Scott Fines

        Issue Links

          Activity

            People

              Unassigned Unassigned
              scottfines Scott Fines
              Piotr Kolaczkowski
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: