Distribution — Contract For Data Distribution Across Partitions
Distribution
is the contract of…FIXME
1 2 3 4 5 6 7 8 9 10 |
package org.apache.spark.sql.catalyst.plans.physical sealed trait Distribution { def requiredNumPartitions: Option[Int] def createPartitioning(numPartitions: Int): Partitioning } |
Note
|
Distribution is a Scala sealed contract which means that all possible distributions are all in the same compilation unit (file).
|
Method | Description | ||
---|---|---|---|
Gives the required number of partitions for a distribution. Used exclusively when
|
|||
Creates a Partitioning for a given number of partitions. Used exclusively when |
Distribution | Description |
---|---|