Module examples

Module examples 

Source
Expand description

PartitionHint demonstrates how to implement a custom enhancement: positional enum arguments combined with an optional named integer argument.

§Text Format

Read[data => col:i64]
  + Enh:PartitionHint[&HASH, count=8]

Each positional argument is a PartitionStrategy variant rendered with the & enum prefix. The optional named argument count gives the target number of partitions (0 / absent means “let the executor decide”).

Structs§

PartitionHint
Enhancement that hints the executor how to partition a relation’s output.

Enums§

PartitionStrategy
Partitioning strategy for a PartitionHint enhancement.