pan3793 commented on code in PR #6989: URL: https://github.com/apache/kyuubi/pull/6989#discussion_r2000687332
########## extensions/spark/kyuubi-extension-spark-3-5/src/test/scala/org/apache/spark/sql/DynamicShufflePartitionsSuite.scala: ########## @@ -75,7 +85,7 @@ class DynamicShufflePartitionsSuite extends KyuubiSparkSQLExtensionTest { if (dynamicShufflePartitions) { joinExchanges.foreach(e => assert(e.outputPartitioning.numPartitions - == Math.min(22, maxDynamicShufflePartitionNum))) + == Math.min(expectedJoinPartitionNum, maxDynamicShufflePartitionNum))) Review Comment: nit: extract `Math.min(...)` to a val then the assert stmt can satisfy single line -- 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: notifications-unsubscr...@kyuubi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@kyuubi.apache.org For additional commands, e-mail: notifications-h...@kyuubi.apache.org