abhishek593 opened a new pull request, #49850: URL: https://github.com/apache/arrow/pull/49850
### Rationale for this change When decoding Parquet ByteArray columns into Arrow BinaryView arrays, repeated dictionary values previously caused redundant data copies. ### What changes are included in this PR? Dictionary decoding: Pre-build a cache of `BinaryViewType::c_type` headers from the dictionary entries. Out-of-line dictionary data is registered once as a shared heap buffer via a new `BinaryViewBuilder::AppendBuffer` API. Decoding then emits the cached header directly. DELTA_BYTE_ARRAY decoding: When a decoded value has the same pointer and length as the previous value (the delta encoder's representation of an exact repeat), reuse the last BinaryView header instead of appending a duplicate. ### Are these changes tested? Yes. Added new tests. ### Are there any user-facing changes? No -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
