Github user marmbrus commented on a diff in the pull request:

    https://github.com/apache/spark/pull/2164#discussion_r16801490
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/test/TestSQLContext.scala ---
    @@ -18,8 +18,13 @@
     package org.apache.spark.sql.test
     
     import org.apache.spark.{SparkConf, SparkContext}
    -import org.apache.spark.sql.SQLContext
    +import org.apache.spark.sql.{SQLConf, SQLContext}
     
     /** A SQLContext that can be used for local testing. */
     object TestSQLContext
    -  extends SQLContext(new SparkContext("local", "TestSQLContext", new 
SparkConf()))
    +  extends SQLContext(new SparkContext("local", "TestSQLContext", new 
SparkConf())) {
    +
    +  /** Fewer partitions to speed up testing. */
    +  override private[spark] def numShufflePartitions: Int =
    +    getConf(SQLConf.SHUFFLE_PARTITIONS, "5").toInt
    --- End diff --
    
    I don't know... I was thinking a little more parallelism might be more 
likely to find bugs without incurring too much overhead.  I could be convinced 
otherwise...


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to