-
Notifications
You must be signed in to change notification settings - Fork 996
Closed
Labels
questionFurther information is requestedFurther information is requested
Description
Which part is this question about
The arrow-rs
library.
Describe your question
I'm currently working on a tool that converts protobuf
messages into Arrow data. To capture the nested structure of protobuf
messages, I'm using type-erased Box<dyn ArrayBuilder>
s.
While doing so, I stumbled upon the fact that UnionBuilder
does not implement the ArrayBuilder
trait. Is there a technical limitation for this? If not, I could try to come up with an implementation.
Additional context
To implement this, I would add Send + Sync
to the FieldDataValues
trait. Then it looks like it's enough to implement finish
and finish_cloned
, which I could implement similar to UnionBuilder::build()
.
Would it be ok to panic
if the underlying UnionArray::try_new
fails?
alamb
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested