cloud-fan commented on code in PR #39512:
URL: https://github.com/apache/spark/pull/39512#discussion_r1067652958
##########
sql/core/src/test/scala/org/apache/spark/sql/CachedTableSuite.scala:
##########
@@ -541,7 +541,8 @@ class CachedTableSuite extends QueryTest with SQLTestUtils
spark.catalog.cacheTable("t2")
// Joining them should result in no exchanges.
- verifyNumExchanges(sql("SELECT * FROM t1 t1 JOIN t2 t2 ON t1.key =
t2.a"), 0)
+ val numExchanges = if (numPartitions == 1) 2 else 0
Review Comment:
is it due to wrong size estimation?
--
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]