Skip to content

[Parquet] Remove uses of ArrayData in favor of Direct Array construction #9128

Open

Description

@alamb

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

I noticed on #9061 that there is non trivial overhead to array. I am trying to improve make_array in parallel, but @tustvold had an even better idea in #9058 (comment)

My 2 cents is it would be better to move the codepaths relying on ArrayData over to using the typed arrays directly, this should not only cut down on allocations but unnecessary validation and dispatch overheads.

An ArrayData has at least one extra allocation (for the Vec that holds Buffers) as well as a bunch of dynamic function calls. While this overhead is small individually, it is paid for every array so in aggregate it can be substantial

Describe the solution you'd like
Change relying on ArrayData over to using the typed arrays directly, this should not only cut down on allocations but unnecessary validation and dispatch overheads.

Describe alternatives you've considered

Additional context

Activity

  1. added
    enhancement
    performance
    on Jan 9, 2026
  2. changed the title [-]Remove uses of ArrayData in favor of Direct Array construction[/-] [+][Parquet] Remove uses of ArrayData in favor of Direct Array construction[/+] on Jan 12, 2026
  3. self-assigned this
    on Jan 12, 2026
  4. alamb commented on Jan 22, 2026

    @alamb
    ContributorAuthor

    While I am not done with this I think I handld the major arrays -- primitive, struct and Views

    I looked briefly at Lists and I concluded it was more complicated than I hoped. Likewise with string arrays, et

    Thus I am going to back burner this work for a while and focus on higher priority items

  5. alamb commented on Jan 29, 2026

    @alamb
    ContributorAuthor
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

    enhancementperformance

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions