Skip to content

Compute array_length from offsets #25119

Description

@neilconway

Is your feature request related to a problem or challenge?

Similar to #25078, it would be more efficient to compute array_length from the offset buffer rather than the current approach of forming per-row arrays and then getting their length.

When called for array_length of dimension one, this is straightforward. For other dimensions, we could do something similar but it would probably require more offset math.

Describe the solution you'd like

No response

Describe alternatives you've considered

No response

Additional context

No response

Activity

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions