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

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

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.13.0
    • Component/s: None
    • Labels:
      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.6.patch
          61 kB
          Phabricator
        2. HIVE-4888.06.patch
          63 kB
          Sergey Shelukhin
        3. D13101.5.patch
          61 kB
          Phabricator
        4. HIVE-4888.05.patch
          63 kB
          Sergey Shelukhin
        5. HIVE-4888.04.patch
          50 kB
          Sergey Shelukhin
        6. D13101.4.patch
          49 kB
          Phabricator
        7. D13101.3.patch
          49 kB
          Phabricator
        8. HIVE-4888.01.patch
          47 kB
          Sergey Shelukhin
        9. D13101.2.patch
          46 kB
          Phabricator
        10. HIVE-4888.00.patch
          9 kB
          Sergey Shelukhin
        11. D13101.1.patch
          8 kB
          Phabricator
        12. HIVE-4888.on-top-of-4914.patch
          9 kB
          Sergey Shelukhin

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: