paleolimbot commented on issue #526:
URL: 
https://github.com/apache/arrow-nanoarrow/issues/526#issuecomment-2167047270

   > pretty high level ways of creating arrays:
   
   One of the recently added helpers lets you wrap a `std::vector<>` as an 
`ArrowBuffer`, such that one can do:
   
   
https://github.com/apache/arrow-nanoarrow/blob/4ed0631649d0fe61a0befb048bb8037b9abde99d/src/nanoarrow/nanoarrow_hpp_test.cc#L323-L324
   
   There's definitely a lot of opportunities for C++ helpers; however, I am 
hesitant to add too much C++ here because there are other projects (e.g., Arrow 
C++ https://github.com/man-group/sparrow ) that have the developer bandwidth 
and C++ experience to do a much better job. The C++ helpers that currently 
exist are helpful to simplify testing (although I haven't gone through and 
simplified any additional tests yet 😬 ), since the Arrow C++ dependency in the 
tests occasionally causes problems.


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