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

listPartitionsByFilter doesn't support lt/gt/lte/gte

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.13.0
    • None
    • None

    Description

      Filter pushdown could be improved. Based on my experiments there's no reasonable way to do it with DN 2.0, due to DN bug in substring and Collection.get(int) not being implemented.
      With version as low as 2.1 we can use values.get on partition to extract values to compare to. Type compatibility is an issue, but is easy for strings and integral values.

      Attachments

        1. D13101.1.patch
          8 kB
          Phabricator
        2. D13101.2.patch
          46 kB
          Phabricator
        3. D13101.3.patch
          49 kB
          Phabricator
        4. D13101.4.patch
          49 kB
          Phabricator
        5. D13101.5.patch
          61 kB
          Phabricator
        6. D13101.6.patch
          61 kB
          Phabricator
        7. HIVE-4888.00.patch
          9 kB
          Sergey Shelukhin
        8. HIVE-4888.01.patch
          47 kB
          Sergey Shelukhin
        9. HIVE-4888.04.patch
          50 kB
          Sergey Shelukhin
        10. HIVE-4888.05.patch
          63 kB
          Sergey Shelukhin
        11. HIVE-4888.06.patch
          63 kB
          Sergey Shelukhin
        12. HIVE-4888.on-top-of-4914.patch
          9 kB
          Sergey Shelukhin

        Issue Links

          Activity

            People

              sershe Sergey Shelukhin
              sershe Sergey Shelukhin
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: