Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-11609

Capability to add a filter to hbase scan via composite key doesn't work

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0, 2.4.0
    • Component/s: HBase Handler
    • Labels:
      None

      Description

      It seems like the capability to add filter to an hbase scan which was added as part of HIVE-6411 doesn't work. This is primarily because in the HiveHBaseInputFormat, the filter is added in the getsplits instead of getrecordreader. This works fine for start and stop keys but not for filter because a filter is respected only when an actual scan is performed. This is also related to the initial refactoring that was done as part of HIVE-3420.

        Attachments

        1. HIVE-11609.1.patch.txt
          21 kB
          Swarnim Kulkarni
        2. HIVE-11609.2.patch.txt
          25 kB
          Swarnim Kulkarni
        3. HIVE-11609.3.patch.txt
          26 kB
          Swarnim Kulkarni
        4. HIVE-11609.4.patch.txt
          25 kB
          Swarnim Kulkarni
        5. HIVE-11609.5.patch
          25 kB
          Yongzhi Chen
        6. HIVE-11609.6.patch.txt
          24 kB
          Swarnim Kulkarni
        7. HIVE-11609.7.patch.txt
          22 kB
          Swarnim Kulkarni
        8. HIVE-11609.08.patch
          23 kB
          Barna Zsombor Klara
        9. HIVE-11609.09.patch
          24 kB
          Barna Zsombor Klara
        10. HIVE-11609.10.patch
          23 kB
          Yongzhi Chen
        11. HIVE-11609.11.patch
          23 kB
          Yongzhi Chen

          Issue Links

            Activity

              People

              • Assignee:
                zsombor.klara Barna Zsombor Klara
                Reporter:
                swarnim Swarnim Kulkarni
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: