Expand description
Converts raw catalog Arrow batches into display-friendly Arrow batches.
Catalog batches store prices and quantities as scale-16 decimals plus schema metadata. This
module preserves the raw catalog query path while converting the values to named Float64
columns suitable for PyArrow/Polars. Migrate legacy catalog files before requesting display output.
Functionsยง
- catalog_
display_ schema - Returns a display-friendly Arrow schema for a catalog data type.
- catalog_
raw_ schema - Returns the raw Arrow schema for a catalog data type.
- catalog_
record_ batch_ to_ display - Converts a raw catalog record batch into display Arrow without decoding full data objects.