1. [SPARK-24455][CORE] fix typo in TaskSchedulerImpl comment (commit: 18194544fb7219d9ddaa55da96d35c9ba15559c3) (details)
  2. [SPARK-24369][SQL] Correct handling for multiple distinct aggregations (commit: 36f1d5e17a79bc343d6ea88af2d1fed1f02c132f) (details)
Commit 18194544fb7219d9ddaa55da96d35c9ba15559c3 by hyukjinkwon
[SPARK-24455][CORE] fix typo in TaskSchedulerImpl comment
change runTasks to submitTasks  in the TaskSchedulerImpl.scala 's
Author: xueyu <> Author: Xue Yu <>
Closes #21485 from xueyumusic/fixtypo1.
(cherry picked from commit a2166ecddaec030f78acaa66ce660d979a35079c)
Signed-off-by: hyukjinkwon <>
(commit: 18194544fb7219d9ddaa55da96d35c9ba15559c3)
The file was modifiedcore/src/main/scala/org/apache/spark/scheduler/TaskSchedulerImpl.scala (diff)
Commit 36f1d5e17a79bc343d6ea88af2d1fed1f02c132f by gatorsmile
[SPARK-24369][SQL] Correct handling for multiple distinct aggregations
having the same argument set
## What changes were proposed in this pull request?
bring back
This is a different approach: just change the check to count distinct
columns with `toSet`
## How was this patch tested?
a new test to verify the planner behavior.
Author: Wenchen Fan <> Author: Takeshi Yamamuro
Closes #21487 from cloud-fan/back.
(cherry picked from commit 416cd1fd96c0db9194e32ba877b1396b6dc13c8e)
Signed-off-by: Xiao Li <>
(commit: 36f1d5e17a79bc343d6ea88af2d1fed1f02c132f)
The file was modifiedsql/core/src/test/resources/sql-tests/results/group-by.sql.out (diff)
The file was modifiedsql/core/src/main/scala/org/apache/spark/sql/execution/SparkStrategies.scala (diff)
The file was modifiedsql/core/src/test/resources/sql-tests/inputs/group-by.sql (diff)
The file was modifiedsql/core/src/test/scala/org/apache/spark/sql/execution/PlannerSuite.scala (diff)