Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-16923 Hive-on-Spark DPP Improvements
  3. HIVE-17247

HoS DPP: UDFs on the partition column side does not evaluate correctly

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • Spark
    • None

    Description

      Same problem as HIVE-12473 and HIVE-12667.

      The query below (uses tables from spark_dynamic_partition_pruning.q) returns incorrect results:

      select count(*) from srcpart join srcpart_date on (day(srcpart.ds) = day(srcpart_date.ds)) where srcpart_date.`date` = '2008-04-08';
      

      It returns a value of 0 when DPP is on, when it is disabled it returns 1000

      Attachments

        1. HIVE-17247.1.patch
          78 kB
          Sahil Takiar

        Issue Links

          Activity

            People

              stakiar Sahil Takiar
              stakiar Sahil Takiar
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: