[SPARK-37538][SQL] Replace single projection expand#34800
[SPARK-37538][SQL] Replace single projection expand#34800tanelk wants to merge 6 commits intoapache:masterfrom
Conversation
|
Kubernetes integration test starting |
|
Kubernetes integration test status failure |
|
Test build #145907 has finished for PR 34800 at commit
|
| ReplaceSingleProjectionExpand) :: Nil | ||
| } | ||
|
|
||
| test("Replace single projection expand with project") { |
There was a problem hiding this comment.
Maybe let's add a JIRA number as the prefix.
|
Kubernetes integration test starting |
|
Kubernetes integration test status failure |
|
Kubernetes integration test starting |
|
Kubernetes integration test status failure |
|
Test build #145995 has finished for PR 34800 at commit
|
|
Test build #146001 has finished for PR 34800 at commit
|
# Conflicts: # sql/core/src/test/scala/org/apache/spark/sql/SQLQuerySuite.scala
|
We're closing this PR because it hasn't been updated in a while. This isn't a judgement on the merit of the PR in any way. It's just a way of keeping the PR queue manageable. |
What changes were proposed in this pull request?
In the
Optimizerreplace all instances ofExpandwith only 1 projection with aProject.Why are the changes needed?
Both grouping sets and distinct aggregations can create
Expandwith only 1 projection. Removing those can improve the performance in two ways:ExpandExpandExechasneedCopyResult: Boolean = trueDoes this PR introduce any user-facing change?
No
How was this patch tested?
New UT