Skip to content

Enable LargeList / ListView / LargeListView for VariantArray::try_new #9455

@sdf-jkl

Description

@sdf-jkl

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

While working on #8354 @klion26 asked me about LargeList support in variant_get: #8354 (comment)

I realized that we currently don't support LargeList and other List types for VariantArray.

// We can _possibly_ allow (some of) these some day?
ListView(_) | LargeList(_) | LargeListView(_) => {
fail!()
}

Earlier @mbrobbel mentioned other types that should be supported based on the arrow spec:
https://github.com/apache/arrow/blob/d803afcc43f5d132506318fd9e162d33b2c3d4cd/docs/source/format/CanonicalExtensions.rst?plain=1#L442-L465

Describe the solution you'd like

Add support for other List types for VariantArray

Describe alternatives you've considered

Additional context

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions