Skip to main content

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§

BlobStoreRead
ExtensionTable detail for a simple blob-store backed read.
PartitionHint
Enhancement that hints the executor how to partition a relation’s output.
PlanHint
Optimization hint that carries a planner directive as a string.

Enums§

PartitionStrategy
Partitioning strategy for a PartitionHint enhancement.

Functions§

registry
Create an ExtensionRegistry preloaded with the example extension types.