Skip to content

ListBuilder Specify Field #1649

Closed
Closed

Description

@tustvold

Is your feature request related to a problem or challenge? Please describe what you are trying to do.

The various ListBuilder's do not support providing the full Field of the nested type, this prevents round-tripping nullability, field names, etc...

Describe the solution you'd like

The ListBuilders should have a new public constructor

pub fn new_with_child(values_builder: T, child: Field) -> Self

This should panic in finish if the field has an incompatible data_type

Describe alternatives you've considered

We could not do this

Additional context

I ran into this whilst working on apache/datafusion#2450

Activity

  1. added
    enhancement
    on May 5, 2022
  2. tustvold commented on Mar 16, 2024

    @tustvold
    ContributorAuthor

    Closed by #5331

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions