You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "ulysses you (Jira)" <ji...@apache.org> on 2021/04/19 12:06:00 UTC

[jira] [Updated] (SPARK-35137) Revise outputpartitioning number in some SparkPlan

     [ https://issues.apache.org/jira/browse/SPARK-35137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ulysses you updated SPARK-35137:
--------------------------------
    Description: 
Revise the outputPartitioning number in some `SparkPlan`
 * UnionExec
 * RowDataSourceScanExec
 * LogicalRDD
 * RDDScanExec
 * ExternalRDDScanExec
 * LocalTableScanExec
 * ExpandExec
 * BroadcastNestedLoopJoinExec
 * CoGroupExec

The mian change follow the logical
 1. if rdd is known, using `rdd.partitions.length`
 2. using `child.outputPartitioning.numPartitions`

 

  was:
Revise the outputPartitioning number in some `SparkPlan`

* UnionExec
* RowDataSourceScanExec
* LogicalRDD
* RDDScanExec
* ExternalRDDScanExec
* ExpandExec
* BroadcastNestedLoopJoinExec
* CoGroupExec

The mian change follow the logical
1. if rdd is known, using `rdd.partitions.length`
2. using `child.outputPartitioning.numPartitions`

 


> Revise outputpartitioning number in some SparkPlan
> --------------------------------------------------
>
>                 Key: SPARK-35137
>                 URL: https://issues.apache.org/jira/browse/SPARK-35137
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.2.0
>            Reporter: ulysses you
>            Priority: Minor
>
> Revise the outputPartitioning number in some `SparkPlan`
>  * UnionExec
>  * RowDataSourceScanExec
>  * LogicalRDD
>  * RDDScanExec
>  * ExternalRDDScanExec
>  * LocalTableScanExec
>  * ExpandExec
>  * BroadcastNestedLoopJoinExec
>  * CoGroupExec
> The mian change follow the logical
>  1. if rdd is known, using `rdd.partitions.length`
>  2. using `child.outputPartitioning.numPartitions`
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org