[
https://issues.apache.org/jira/browse/ARROW-4164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17661188#comment-17661188
]
Rok Mihevc commented on ARROW-4164:
-----------------------------------
This issue has been migrated to [issue
#20749|https://github.com/apache/arrow/issues/20749] on GitHub. Please see the
[migration documentation|https://github.com/apache/arrow/issues/14542] for
further details.
> [Rust] ArrayBuilder should not have associated types
> ----------------------------------------------------
>
> Key: ARROW-4164
> URL: https://issues.apache.org/jira/browse/ARROW-4164
> Project: Apache Arrow
> Issue Type: Improvement
> Components: Rust
> Reporter: Andy Grove
> Priority: Minor
>
> When dealing with arrays at runtime it is possible to represent them with
> ArrayRef, allowing for things like Vec<ArrayRef> and then downcasting arrays
> as needed based on schema meta data.
> I am now trying to do the same thing with ArrayBuilder but because this trait
> has an associated type, I cannot create a Vec<ArrayBuilder>. This makes it
> difficult in some cases to dynamic build arrays.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)