Skip to content


OrderedDistribution is a Distribution.

[[requiredNumPartitions]] OrderedDistribution specifies None for the[required number of partitions].


None for the required number of partitions indicates to use any number of partitions (possibly spark.sql.shuffle.partitions configuration property).

OrderedDistribution is <> when...FIXME

[[creating-instance]] [[ordering]] OrderedDistribution takes SortOrder expressions for ordering when created.

OrderedDistribution requires that the <> should not be empty (i.e. Nil).

=== [[createPartitioning]] createPartitioning Method

[source, scala]

createPartitioning(numPartitions: Int): Partitioning


createPartitioning is part of the Distribution abstraction.

Last update: 2020-11-07