gengliangwang commented on code in PR #37295:
URL: https://github.com/apache/spark/pull/37295#discussion_r930676209
##########
sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/optimizer/CombiningLimitsSuite.scala:
##########
@@ -111,7 +111,7 @@ class CombiningLimitsSuite extends PlanTest {
comparePlans(optimized1, expected1)
// test child max row > limit.
- val query2 = testRelation.select().groupBy()(count(1)).limit(0).analyze
+ val query2 =
testRelation2.select($"x").groupBy($"x")(count(1)).limit(1).analyze
Review Comment:
why do we need to modify the test case?
--
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]