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

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0
    • Component/s: Spark
    • Labels:
      None
    • Target Version/s:

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: