wjones127 opened a new issue, #187:
URL: https://github.com/apache/arrow-nanoarrow/issues/187

   For users coming from Arrow C++ / PyArrow, it might not be obvious what 
nanoarrow structures to create so they can export. Depending on the context, an 
`ArrowSchema` can represent a data type, a field, or a schema. Similarly, an 
`ArrowArray` can represent an array or record batch (tabular). To start, we 
should show the correspondence between Nanoarrow structs and Arrow C++ types.
   
   
   | Nanoarrow | Arrow C++ |
   |----|----|
   | `ArrowArray` | `arrow::Array` |
   | `ArrowArray` where type is struct | `arrow::RecordBatch` |
   | `std::vector<ArrowArray>` | `arrow::ChunkedArray` |
   | `std::vector<ArrowArray>` where type is struct | `arrow::Table` |
   | `ArrowSchema` | `arrow::DataType` |
   | `ArrowSchema` | `arrow::Field` |
   | `ArrowSchema` | `arrow::Schema` |
   
   Then we may also want recipes for:
   
    * How to build a struct array in nanoarrow, and export as an 
`arrow::RecordBatch`
    * How to build a record batch reader, and export as an `arrow::Table`.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to