Skip to content

OrderedDistribution

OrderedDistribution is a Distribution for ordered data distribution requirement (of SortExec physical operator with global sort).

Creating Instance

OrderedDistribution takes the following to be created:

OrderedDistribution is created when:

Required Number of Partitions

requiredNumPartitions: Option[Int]

requiredNumPartitions is undefined (None).

requiredNumPartitions is part of the Distribution abstraction.

Creating Partitioning

createPartitioning(
  numPartitions: Int): Partitioning

createPartitioning creates a RangePartitioning expression.

createPartitioning is part of the Distribution abstraction.

Back to top