You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by GitBox <gi...@apache.org> on 2022/07/26 20:42:05 UTC

[GitHub] [arrow-nanoarrow] lidavidm commented on issue #8: Implement `struct ArrowArrayBuilder`

lidavidm commented on issue #8:
URL: https://github.com/apache/arrow-nanoarrow/issues/8#issuecomment-1195959994

   Looks reasonable to me. We may eventually want more conveniences, e.g. being able to append a range of values from a `int64_t*`, but this would work to start with. Also a `reserve` function may be useful (C++ has both `reserve` and `reserve_data` to deal with string/binary columns).
   
   What would the API look like for lists, structs, and unions? I suppose you could emulate a list builder by pretending you're building an int32 array, a struct builder really is only a bitmap builder, and a union builder is a int8 builder where you never append nulls.


-- 
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: issues-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org