Module repartition

Module repartition 

Source
Expand description

This file implements the RepartitionExec operator, which maps N input partitions to M output partitions based on a partitioning scheme, optionally maintaining the order of the input rows in the output.

Modulesยง

distributor_channels ๐Ÿ”’
Special channel construction to distribute data from various inputs into N outputs minimizing buffering but preventing deadlocks when repartitioning

Structsยง

BatchPartitioner
A utility that can be used to partition batches based on Partitioning
ConsumingInputStreamsState ๐Ÿ”’
PartitionChannels ๐Ÿ”’
Channels and resources for a single output partition
PerPartitionStream ๐Ÿ”’
This struct converts a receiver to a stream. Receiver receives data on an SPSC channel.
RepartitionExec
Maps N input partitions to M output partitions based on a Partitioning scheme.
RepartitionMetrics ๐Ÿ”’
RepartitionStream ๐Ÿ”’

Enumsยง

BatchPartitionerState ๐Ÿ”’
RepartitionBatch ๐Ÿ”’
A batch in the repartition queue - either in memory or spilled to disk
RepartitionExecState ๐Ÿ”’
Inner state of RepartitionExec.
RepartitionStreamState ๐Ÿ”’

Type Aliasesยง

InputPartitionsToCurrentPartitionReceiver ๐Ÿ”’
InputPartitionsToCurrentPartitionSender ๐Ÿ”’
MaybeBatch ๐Ÿ”’