Skip to main content

Module writer

Module writer 

Source
Expand description

A writer strategy for struct-typed arrays.

StructStrategy transposes a stream of struct chunks into one ordered stream per field (plus a validity stream when the struct is nullable) and writes each through a configurable child strategy, producing a single StructLayout. It is a structural writer: it does not inspect child dtypes or resolve field-path overrides itself. Dispatching a child to the right layout kind is the job of the caller (see TableStrategy).

Structsยง

StructStrategy
Writes struct-typed arrays into a StructLayout, one child layout per field.