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
[C++][Parquet] Optimize DeltaLengthByteArrayEncoder::PutBinaryArray with batched length encoding and bulk copy #55487
DeltaLengthByteArrayEncoder::PutBinaryArray in cpp/src/parquet/encoder.cc currently encodes Arrow binary/string lengths one element at a time (length_encoder_.Put({len}, 1)) and appends payloads to sink_ without pre-reserving capacity, unlike Put(const ByteArray*, int) which batches lengths in 256-value chunks and pre-reserves sink_.
For non-null offset-based Binary/String/Large* arrays, all payload bytes are already contiguous in [offsets[0], offsets[length]) and can be bulk-copied in a single append after validating offsets and lengths.
(The memory pool forwarding and zero-length UnsafeAppend bug fixes originally filed here were split out into #55685 / #55686.)
changed the title [-][C++][Parquet] Fix DeltaLengthByteArrayEncoder memory pool tracking, Arrow array batching, and zero-length safety[/-][+][C++][Parquet] Optimize DeltaLengthByteArrayEncoder::PutBinaryArray with batched length encoding and bulk copy[/+]on Nov 20, 2026
Activity
apacheGH-55487: [C++][Parquet] Refine DeltaLengthByteArrayEncoder off…
apacheGH-55487: [C++][Parquet] Batch length encoding and bulk-copy pa…
[-][C++][Parquet] Fix DeltaLengthByteArrayEncoder memory pool tracking, Arrow array batching, and zero-length safety[/-][+][C++][Parquet] Optimize DeltaLengthByteArrayEncoder::PutBinaryArray with batched length encoding and bulk copy[/+]