You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Parquet] Add benchmarks for reading struct arrays from parquet #9209
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
The arrow_reader benchmarks currently do not cover any struct arrays. This is an interesting gap, since there is an optimization for reading definition levels with a max level of 1, which would no longer be triggered when a column is wrapped in an optional struct. The overhead of that fallback behavior would be very interesting to analyze.
Describe the solution you'd like
Add some simple benchmarks for structs. A single field in that struct should be enough and allow comparing the time for reading a primitive column vs. that column wrapped in a required or optional struct. No need to cover multiple encodings for the leaf data, since that should not make a difference for the struct.
Describe alternatives you've considered
Additional context
I would also be very interested in how commonly struct arrays are used in parquet. Most usages seem to involve only flat data, but since parquet allows arbitrarily complex structured data, there must be some more users of this.
Activity
jhorstmann commentedon Jan 17, 2026
@alamb fyi, there might be some more parquet optimizations incoming ;)
Add benchmarks for reading struct arrays from parquet (apache#9210)