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

    https://github.com/apache/spark/pull/956#discussion_r13495842
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/SparkStrategies.scala ---
    @@ -177,8 +177,7 @@ private[sql] abstract class SparkStrategies extends 
QueryPlanner[SparkPlan] {
     
       // Can we automate these 'pass through' operations?
       object BasicOperators extends Strategy {
    -    // TODO: Set
    -    val numPartitions = 200
    +    def numPartitions = sqlConf.get("spark.sql.shufflePartitions", 
"200").toInt
    --- End diff --
    
    They are the same property.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to