Skip to main content

Module table

Module table 

Source
Expand description

A configurable writer strategy for tabular data.

TableStrategy is a dispatcher: it inspects the dtype of the stream it is handed and routes struct columns to StructStrategy, list columns to ListLayoutStrategy, and everything else to the configured leaf strategy. Because it hands itself (suitably descended) to those structural writers as the strategy for their children, arbitrarily nested struct/list trees are written with no manual wiring.

The dispatcher also owns field-path overrides, letting callers force a specific leaf field — at any depth — onto a custom strategy.

Structs§

TableStrategy
A configurable strategy for writing nested tabular data, dispatching each (sub)stream to the structural writer for its dtype.

Functions§

use_experimental_list_layout
Whether TableStrategy writes list fields using a ListLayoutStrategy by default. Disabled unless the environment variable VORTEX_EXPERIMENTAL_LIST_LAYOUT is set to 1.