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_r406665064
 
 

 ##########
 File path: sql/core/src/test/scala/org/apache/spark/sql/SQLQueryTestSuite.scala
 ##########
 @@ -157,6 +157,8 @@ class SQLQueryTestSuite extends QueryTest with 
SharedSparkSession {
   protected override def sparkConf: SparkConf = super.sparkConf
     // Fewer shuffle partitions to speed up testing.
     .set(SQLConf.SHUFFLE_PARTITIONS, 4)
+    // Disable BHJ optimization to avoid changing result order when we enable 
AQE
+    .set(SQLConf.AUTO_BROADCASTJOIN_THRESHOLD, -1.toLong)
 
 Review comment:
   It's a bit odd because we're working around by another configuration to 
disable AQE here. But okay since we commented.

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

Reply via email to