Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-2048 Expedite Partition Pruning
  3. HIVE-2049

Push down partition pruning to JDO filtering for a subset of partition predicates

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.8.0
    • Metastore
    • Reviewed

    Description

      Several tasks:

      • expose HiveMetaStoreClient.listPartitionsByFilter() to Hive.java so that PartitionPruner can use that for certain partition predicates.
      • figure out a safe subset of partition predicates that can be pushed down to JDO filtering.

      By my initial testing for the 2nd part is equality queries with AND/OR can be pushed down and return correct results. However range queries on partition columns gave NPE by the JDO execute() function. This might be a bug in the JDO query string itself, but we need to figure it out and heavily test all cases.

      Attachments

        1. HIVE-2049.patch
          17 kB
          Ning Zhang
        2. HIVE-2049.2.patch
          16 kB
          Ning Zhang
        3. HIVE-2049.3.patch
          67 kB
          Ning Zhang
        4. HIVE-2049.4.patch
          71 kB
          Ning Zhang

        Issue Links

          Activity

            People

              nzhang Ning Zhang
              nzhang Ning Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: