You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Jorge Leitão (Jira)" <ji...@apache.org> on 2021/01/22 07:30:00 UTC

[jira] [Closed] (ARROW-4164) [Rust] ArrayBuilder should not have associated types

     [ https://issues.apache.org/jira/browse/ARROW-4164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jorge Leitão closed ARROW-4164.
-------------------------------
    Resolution: Fixed

> [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.3.4#803005)