etseidl opened a new pull request, #8587:
URL: https://github.com/apache/arrow-rs/pull/8587

   # Which issue does this PR close?
   
   - Part of #5853
   - Part of #8518.
   
   # Rationale for this change
   
   Reduce code clutter (too many `[cfg(feature = "encryption")]`s).
   
   Also reduces the number of vector allocations using a strategy proposed by 
@jhorstmann 
(https://github.com/apache/arrow-rs/issues/8518#issuecomment-3355199067).
   
   # What changes are included in this PR?
   
   Refactors (most) of the Thrift decoding involving encryption into a new 
module.
   
   Replaces the `encodings` vector in `ColumnChunkMetaData` with a bitmask.
   
   # Are these changes tested?
   
   Covered by existing and new tests.
   
   # Are there any user-facing changes?
   Yes. This changes the return type of `ColumnChunkMetaData::encodings` from 
`&Vec<Encoding>` to `Vec<Encoding>` (the vector is now created on demand rather 
than stored).
   


-- 
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]

Reply via email to