It is purely an oversight, there isn't a technical reason that I am aware of.

I have created a ticket here <https://github.com/apache/arrow-rs/issues/3434> and will try to bash something out later today, it should be relatively straightforward.

On 03/01/2023 07:45, Chang She wrote:
sorry, the link is old. I am using 29.0.0, same thing if you're looking at make_builder, there's no list support

On Mon, Jan 2, 2023 at 11:04 PM Martin Grigorov <mgrigo...@apache.org> wrote:

    Hello,

    Why do you use 0.12.0 ? It is very old.
    Try with 29.0.0 -
    
https://docs.rs/arrow-array/29.0.0/src/arrow_array/builder/struct_builder.rs.html#178-193

    On Tue, Jan 3, 2023 at 3:36 AM Chang She <ch...@eto.ai> wrote:

        Hi there,

        I noticed that StructBuilder::from_schema fails if the input
        schema has a list field. This is because
        https://docs.rs/arrow/0.12.0/src/arrow/builder.rs.html#600. I
        can work around it by adding the ListBuilder manually, but I
        just wanted to ask if this was done intentionally due to any
        gotchas.

        Thanks!

        Chang

Reply via email to