cloud-fan commented on a change in pull request #31258:
URL: https://github.com/apache/spark/pull/31258#discussion_r567824120



##########
File path: 
sql/core/src/test/scala/org/apache/spark/sql/execution/RemoveRedundantProjectsSuite.scala
##########
@@ -110,7 +110,7 @@ abstract class RemoveRedundantProjectsSuiteBase
   test("join with ordering requirement") {
     val query = "select * from (select key, a, c, b from testView) as t1 join 
" +
       "(select key, a, b, c from testView) as t2 on t1.key = t2.key where t2.a 
> 50"
-    assertProjectExec(query, 2, 2)
+    assertProjectExec(query, 3, 3)

Review comment:
       can you show the before and after query plan? I don't know why there is 
an extra Project.




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

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