Skip to content

ShuffleSpec

ShuffleSpec is an abstraction of shuffle specifications for the following physical optimizations:

Contract

canCreatePartitioning

canCreatePartitioning: Boolean

Used when:

isCompatibleWith

isCompatibleWith(
  other: ShuffleSpec): Boolean

Used when:

numPartitions

numPartitions: Int

Used when:

Implementations

  • HashShuffleSpec
  • KeyGroupedShuffleSpec
  • RangeShuffleSpec
  • ShuffleSpecCollection
  • SinglePartitionShuffleSpec