paleolimbot opened a new pull request, #60:
URL: https://github.com/apache/arrow-nanoarrow/pull/60

   Fixes #48.
   
   Basically, the scope of these helpers is just to manage allocating and 
moving the data structures in the `nanoarrow.h` API that require cleaning up:
   
   - [x] ArrowSchema -> UniqueSchema
   - [x] ArrowArray -> UniqueArray
   - [x] ArrowArrayStream -> UniqueArrayStream
   - [ ] ArrowBuffer
   - [ ] ArrowBitmap
   - [ ] ArrowArrayView
   - [ ] Deallocator (maybe)
   
   Without these, it's (unnecessarily) annoying to use nanoarrow in C++ so that 
you can do stuff like return early or throw an exception (i.e., nanoarrow 
shouldn't force C idioms on C++ clients).
   
   In order to test array streams properly, we also need to be able to create 
them (users of nanoarrow probably also want to be able to test array streams 
properly). This PR also adds a simple array stream class backed by a 
`std::vector<UniqueArray>`.


-- 
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