constzhou commented on a change in pull request #35334:
URL: https://github.com/apache/spark/pull/35334#discussion_r799218296



##########
File path: 
sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/optimizer/TransposeWindowSuite.scala
##########
@@ -142,4 +142,20 @@ class TransposeWindowSuite extends PlanTest {
     comparePlans(optimized, analyzed)
   }
 
+  test("transpose two adjacent windows with compatible partitions which is not 
a prefix") {

Review comment:
       This will fail before. 
   This PR has two effects for the rule: 1. extend the applicable cases(like 
the case added in the UT) 2. perf improvement




-- 
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 comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



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

Reply via email to