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

Add "-- SORT_QUERY_RESULTS" for spark_vectorized_dynamic_partition_pruning.q

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • None
    • None

    Description

      for query

       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.vectorized.execution.enabled=true;
      set hive.strict.checks.cartesian.product=false;
      select distinct ds from srcpart;
      

      the result is

      2008-04-09
      2008-04-08
      

      the result of groupby in spark is not in order. Sometimes it returns

      2008-04-08
      2008-04-09
      

      Sometimes it returns

      2008-04-09
      2008-04-08
      

      Attachments

        1. HIVE-17412.patch
          0.7 kB
          liyunzhang

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: