Export Apache Arrow and Parquet schemas
A new Apache Arrow / Parquet export target writes an item's types as Apache Arrow schemas, one per table, with the Parquet message each one becomes. See Apache Arrow and Parquet.
- One table per root record:
<table>.arrow.jsonin Arrow's JSON integration form (the file Apiome imports, so it reads back) and<table>.parquet.txt, themessage schema { … }pyarrow's Parquet writer derives from it. Thetableoption exports one record. - Nested types map natively: an object is a
struct, a list alist<item>, a map amapofkeyandvalue, a union a denseunionand an enumeration a dictionary-encoded column. - Logical types: dates are
date32, date-timestimestampin microseconds, UTC, decimalsdecimal128with the scale frommultipleOf, and UUIDs a 16-bytefixedsizebinarywith thearrow.uuidextension. - Arrow round-trips: an item imported from Arrow exports back to the same schema, with each column's unit, time zone, precision, dictionary encoding and metadata.
- Checked before you download: pyarrow constructs every schema and it imports again. The fidelity report lists what a re-import reads back differently, such as a nested record named after its column.
