wangyum commented on a change in pull request #25891: [SPARK-29203][SQL][TESTS] 
Reduce shuffle partitions in SQLQueryTestSuite
URL: https://github.com/apache/spark/pull/25891#discussion_r326904842
 
 

 ##########
 File path: 
sql/core/src/test/scala/org/apache/spark/sql/test/SharedSparkSession.scala
 ##########
 @@ -72,6 +72,8 @@ trait SharedSparkSessionBase
       // this rule may potentially block testing of other optimization rules 
such as
       // ConstantPropagation etc.
       .set(SQLConf.OPTIMIZER_EXCLUDED_RULES.key, 
ConvertToLocalRelation.ruleName)
+      // Reduce shuffle partitions to reduce testing time.
+      .set(SQLConf.SHUFFLE_PARTITIONS.key, "5")
 
 Review comment:
   ```
   [info] - recover from a Spark v2.1 checkpoint *** FAILED *** (1 second, 548 
milliseconds)
   [info]   Expected exception 
org.apache.spark.sql.streaming.StreamingQueryException to be thrown, but no 
exception was thrown (StreamSuite.scala:776)
   [info]   org.scalatest.exceptions.TestFailedException:
   ```
   
   Yes. This test failure related to [this 
commit](https://github.com/apache/spark/pull/25891/commits/3dc012475274d609e673ca5ceb71b9c3c501cb1f).

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