Re: [PR] [SPARK-46378][SQL] Still remove Sort after converting Aggregate to Project [spark]

2023-12-12 Thread via GitHub
cloud-fan commented on PR #44310: URL: https://github.com/apache/spark/pull/44310#issuecomment-1852552188 thanks for the review, merging to master! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to

Re: [PR] [SPARK-46378][SQL] Still remove Sort after converting Aggregate to Project [spark]

2023-12-12 Thread via GitHub
cloud-fan closed pull request #44310: [SPARK-46378][SQL] Still remove Sort after converting Aggregate to Project URL: https://github.com/apache/spark/pull/44310 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL abov

Re: [PR] [SPARK-46378][SQL] Still remove Sort after converting Aggregate to Project [spark]

2023-12-12 Thread via GitHub
beliefer commented on code in PR #44310: URL: https://github.com/apache/spark/pull/44310#discussion_r1423864377 ## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/optimizer/Optimizer.scala: ## @@ -769,7 +769,9 @@ object LimitPushDown extends Rule[LogicalPlan] {

Re: [PR] [SPARK-46378][SQL] Still remove Sort after converting Aggregate to Project [spark]

2023-12-12 Thread via GitHub
beliefer commented on code in PR #44310: URL: https://github.com/apache/spark/pull/44310#discussion_r1423845505 ## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/optimizer/Optimizer.scala: ## @@ -769,7 +769,9 @@ object LimitPushDown extends Rule[LogicalPlan] {

Re: [PR] [SPARK-46378][SQL] Still remove Sort after converting Aggregate to Project [spark]

2023-12-12 Thread via GitHub
beliefer commented on code in PR #44310: URL: https://github.com/apache/spark/pull/44310#discussion_r1423845505 ## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/optimizer/Optimizer.scala: ## @@ -769,7 +769,9 @@ object LimitPushDown extends Rule[LogicalPlan] {

Re: [PR] [SPARK-46378][SQL] Still remove Sort after converting Aggregate to Project [spark]

2023-12-12 Thread via GitHub
ulysses-you commented on code in PR #44310: URL: https://github.com/apache/spark/pull/44310#discussion_r1423780895 ## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/optimizer/Optimizer.scala: ## @@ -769,7 +769,9 @@ object LimitPushDown extends Rule[LogicalPlan] {

Re: [PR] [SPARK-46378][SQL] Still remove Sort after converting Aggregate to Project [spark]

2023-12-12 Thread via GitHub
beliefer commented on code in PR #44310: URL: https://github.com/apache/spark/pull/44310#discussion_r1423598716 ## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/optimizer/Optimizer.scala: ## @@ -769,7 +769,9 @@ object LimitPushDown extends Rule[LogicalPlan] {

Re: [PR] [SPARK-46378][SQL] Still remove Sort after converting Aggregate to Project [spark]

2023-12-11 Thread via GitHub
cloud-fan commented on PR #44310: URL: https://github.com/apache/spark/pull/44310#issuecomment-1851464587 cc @wangyum @ulysses-you -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific co

[PR] [SPARK-46378][SQL] Still remove Sort after converting Aggregate to Project [spark]

2023-12-11 Thread via GitHub
cloud-fan opened a new pull request, #44310: URL: https://github.com/apache/spark/pull/44310 ### What changes were proposed in this pull request? This is a follow-up of https://github.com/apache/spark/pull/33397 to avoid sub-optimal plans. After converting `Aggregate` to `Proj