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

Predicates pushed down to hbase is not handled properly when constant part is shown first

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.13.0
    • HBase Handler
    • None

    Description

      Test result could not show the difference because predicates pushed down are not removed currently(HIVE-2897). So I added log message(scan.toMap()) and checked the output.

      with query
      select * from hbase_ppd_keyrange where key > 8 and key < 21;
      timeRange=[0, 9223372036854775807], batch=-1, startRow=\x00\x00\x00\x08\x00, stopRow=\x00\x00\x00\x15, ...

      but with query
      select * from hbase_ppd_keyrange where 8 < key and key < 21;
      timeRange=[0, 9223372036854775807], batch=-1, startRow=, stopRow=\x00\x00\x00\x15, ...

      Attachments

        1. HIVE-3617.3.patch.txt
          15 kB
          Navis Ryu

        Issue Links

          Activity

            People

              navis Navis Ryu
              navis Navis Ryu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: