XiDuo You created SPARK-62316:
---------------------------------

             Summary: Adaptive pre-shuffle partial aggregation
                 Key: SPARK-62316
                 URL: https://issues.apache.org/jira/browse/SPARK-62316
             Project: Spark
          Issue Type: Umbrella
          Components: SQL
    Affects Versions: 5.0.0
            Reporter: XiDuo You


Adaptive partial aggregation stops the pre-shuffle partial aggregate from 
aggregating when it cannot reduce the input, passing the remaining rows through 
instead of paying aggregation and spilling for no shuffle reduction. 
SPARK-57688 allows bypassing the partial aggregate at plan time; this umbrella 
tracks the runtime support and its spill-check refinements:

1. SPARK-58511: bypass ineffective pre-shuffle partial aggregation at runtime.
2. SPARK-58860: support PartialMerge mode in adaptive partial aggregation.
3. SPARK-60561: judge the spill check by the recent rows, with a higher 
threshold.

Tracked separately: SPARK-60601 detects keys that recur across epochs in the 
spill check.




--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to