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

Implement a similar feature like "hive.tez.dynamic.semijoin.reduction" in hive on spark

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      Currently if we enable "hive.tez.dynamic.semijoin.reduction" (the default value is true) in hive on spark, following script fail

      set hive.optimize.ppd=true;
      set hive.ppd.remove.duplicatefilters=true;
      set hive.spark.dynamic.partition.pruning=true;
      set hive.optimize.metadataonly=false;
      set hive.optimize.index.filter=true;
      set hive.strict.checks.cartesian.product=false;
      set hive.spark.dynamic.partition.pruning=true;
      
      -- multiple sources, single key
      select count(*) from srcpart join srcpart_date on (srcpart.ds = srcpart_date.ds) join srcpart_hour on (srcpart.hr = srcpart_hour.hr) 
      
      

      the reason why this fail see HIVE-16780, currently we only disable "hive.tez.dynamic.semijoin.reduction" when running hive on spark to pass the test. Later we can implement a similar feature like what hive on tez does.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kellyzly liyunzhang
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: