package partitioning
Type Members
- class KeyGroupedPartitioning extends Partitioning
Represents a partitioning where rows are split across partitions based on the partition transform expressions returned by
KeyGroupedPartitioning#keys
.Represents a partitioning where rows are split across partitions based on the partition transform expressions returned by
KeyGroupedPartitioning#keys
.Note: Data source implementations should make sure for a single partition, all of its rows must be evaluated to the same partition value after being applied by
KeyGroupedPartitioning#keys
expressions. Different partitions can share the same partition value: Spark will group these into a single logical partition during planning phase.- Annotations
- @Evolving()
- Since
3.3.0
- trait Partitioning extends AnyRef
An interface to represent the output data partitioning for a data source, which is returned by
SupportsReportPartitioning#outputPartitioning()
.An interface to represent the output data partitioning for a data source, which is returned by
SupportsReportPartitioning#outputPartitioning()
.Note: implementors should NOT directly implement this interface. Instead, they should use one of the following subclasses:
- Annotations
- @Evolving()
- Since
3.0.0
- class UnknownPartitioning extends Partitioning
Represents a partitioning where rows are split across partitions in an unknown pattern.
Represents a partitioning where rows are split across partitions in an unknown pattern.
- Annotations
- @Evolving()
- Since
3.3.0