Skip to content

Change ScalarValue::List to store ArrayRef #7352

Closed
@tustvold

Description

@tustvold

Is your feature request related to a problem or challenge?

Currently ScalarValue::List stores a Vec<Option<ScalarValue>>. This is incredibly inefficient as it stores nullability and type information per nested value. It also makes the type very cumbersome to use, as the data cannot easily be fed into the normal array kernels.

Describe the solution you'd like

I would like to change the type of ScalarValue::List to store ArrayRef

Describe alternatives you've considered

No response

Additional context

See #7353

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions