package org.apache.spark.sql.catalyst.plans.physical
sealed trait Distribution {
def requiredNumPartitions: Option[Int]
def createPartitioning(numPartitions: Int): Partitioning
}
Distribution Contract — Data Distribution Across Partitions
Distribution
is the contract of…FIXME
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 |
---|---|