pub fn to_sdk_schema(schema: &Schema) -> Result<ArrowSchema, ZerobusSinkError>Expand description
Rebuild our Arrow-58 schema into the SDK’s Arrow-59 Schema. Only the
column types are mapped; the array data never crosses the boundary (it goes
as IPC bytes), so this covers the sink-supported scalar/temporal set.
§Errors
ZerobusSinkError::WriteBoundary naming a column whose Arrow type has no
supported Zerobus mapping.