HyukjinKwon commented on a change in pull request #25271: 
[SPARK-28536][SQL][PYTHON][TESTS] Reduce shuffle partitions in Python UDF tests 
in SQLQueryTestSuite
URL: https://github.com/apache/spark/pull/25271#discussion_r307951512
 
 

 ##########
 File path: sql/core/src/test/scala/org/apache/spark/sql/SQLQueryTestSuite.scala
 ##########
 @@ -279,6 +279,10 @@ class SQLQueryTestSuite extends QueryTest with 
SharedSQLContext {
 
     testCase match {
       case udfTestCase: UDFTest =>
+        // In Python UDF tests, the number of shuffle partitions matters 
considerably in
+        // the testing time because it requires to fork and communicate 
between external
+        // processes.
+        localSparkSession.conf.set(SQLConf.SHUFFLE_PARTITIONS.key, 8)
 
 Review comment:
   We could ..... I don't know lower than 8 is good enough though.. let's see 
if it really decreases the time first in Jenkins .. :-)

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