Module row_expanders

Module row_expanders 

Source
Expand description

Row Expansion System

This module provides a generic framework for functions that multiply rows. Unlike regular functions (value → value) or generators (args → table), row expanders take a single input row and produce multiple output rows.

§Use Cases

  • UNNEST: Split delimited strings into separate rows
  • EXPLODE: Expand JSON arrays
  • GENERATE_SERIES: Create multiple rows from a range
  • Custom expansions for domain-specific data

Modules§

unnest
UNNEST expander implementation

Structs§

ExpansionResult
Result of row expansion: a vector of values for this column across N rows
RowExpanderRegistry
Registry of available row expanders

Traits§

RowExpander
Trait for row expander implementations