HyukjinKwon commented on a change in pull request #28178:
[SPARK-31409][SQL][TEST] Fix failed tests due to result order changing when
enable AQE
URL: https://github.com/apache/spark/pull/28178#discussion_r406655524
##########
File path: sql/core/src/test/scala/org/apache/spark/sql/SQLQuerySuite.scala
##########
@@ -181,6 +181,8 @@ class SQLQuerySuite extends QueryTest with
SharedSparkSession with AdaptiveSpark
parFuncs.foreach { funcId =>
// Examples can change settings. We clone the session to prevent tests
clashing.
val clonedSpark = spark.cloneSession()
+ // Coalescing partitions can change result order, so disable it.
+
clonedSpark.sessionState.conf.setConf(SQLConf.COALESCE_PARTITIONS_ENABLED,
false)
Review comment:
It takes boolean too
----------------------------------------------------------------
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]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]