Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-25444

Add a filter with containing semantic

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.0.0-alpha-1
    • None
    • Filters
    • None
    • filter
    • Patch

    Description

      Say we want to check whether a cell value is within a set of values.
      If the size of the set is 1000, we need to create 1000 SingleColumnValueFilter with CompareOperator.EQUAL and wrap them with a FilterListWithOR. The scan performance of these filters would be very bad.
      But if we have a set filter, we just need to create only one filter with 1000 values.  And the containing operation could be implemented as O(1) or O(log( n )).
      This `SetFilter` is general and useful in my opinion, so would the community consider to implement a `SetFilter`?

      Attachments

        Activity

          People

            Unassigned Unassigned
            Jenson Junsheng Tan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: