HBase
  1. HBase
  2. HBASE-4612

Allow ColumnPrefixFilter to support multiple prefixes

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Won't Fix
    • Affects Version/s: 0.90.4
    • Fix Version/s: 0.94.0
    • Component/s: Filters
    • Labels:
      None

      Description

      When having a lot of columns grouped by name I've found that it would be very useful to be able to scan them using multiple prefixes, allowing to fetch specific groups in one scan, without fetching the entire row. This is impossible to achieve using a FilterList, so I've added such support to the existing ColmnPrefixFilter while keeping backward compatibility.
      The attached patch is based on 0.90.4, I noticed that the 0.92 branch has a new method to support instantiating filters using Thrift. I'm not sure how the serialization works there so I didn't implement that, but the rest of my code should work in 0.92 as well.

      1. HBASE-4612-0.90.patch
        7 kB
        Eran Kutner
      2. HBASE-4612.patch
        7 kB
        Eran Kutner

        Activity

        Eran Kutner created issue -
        Eran Kutner made changes -
        Field Original Value New Value
        Attachment HBASE-4612-0.90.patch [ 12499544 ]
        Eran Kutner made changes -
        Summary Allow ColumnPrefixFilter to support multiple refixes Allow ColumnPrefixFilter to support multiple prefixes
        Eran Kutner made changes -
        Attachment HBASE-4612-0.90.patch [ 12499544 ]
        Eran Kutner made changes -
        Attachment HBASE-4612-0.90.patch [ 12499596 ]
        Ted Yu made changes -
        Fix Version/s 0.94.0 [ 12316419 ]
        Ted Yu made changes -
        Assignee Eran Kutner [ erank ]
        Eran Kutner made changes -
        Attachment HBASE-4612.patch [ 12500359 ]
        Lars Hofhansl made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Won't Fix [ 2 ]
        Lars Hofhansl made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Eran Kutner
            Reporter:
            Eran Kutner
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development