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_r326924233
##########
File path: sql/core/src/test/scala/org/apache/spark/sql/SQLQueryTestSuite.scala
##########
@@ -133,6 +133,10 @@ class SQLQueryTestSuite extends QueryTest with
SharedSparkSession {
private val notIncludedMsg = "[not included in comparison]"
private val clsName = this.getClass.getCanonicalName
+ override def sparkConf: SparkConf = super.sparkConf
+ // Reduce shuffle partitions to reduce testing time.
+ .set(SQLConf.SHUFFLE_PARTITIONS, 5)
Review comment:
OK. I'll try to set it to 4. This is because it is set to 5 in two places:
https://github.com/apache/spark/blob/359375eff74630c9f0ea5a90ab7d45bf1b281ed0/sql/core/src/test/scala/org/apache/spark/sql/test/TestSQLContext.scala#L58-L64
https://github.com/apache/spark/blob/42b80ae128ab1aa8a87c1376fe88e2cde52e6e4f/sql/hive/src/test/scala/org/apache/spark/sql/hive/test/TestHive.scala#L613-L620
----------------------------------------------------------------
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]