HuaHuaY opened a new issue, #55861:
URL: https://github.com/apache/arrow/issues/55861

   ### Describe the enhancement requested
   
   When writing an Arrow `FixedSizeBinaryArray` to Parquet, the C++ writer 
reserves scratch space for one `FixedLenByteArray` descriptor per element and 
fills in a pointer for each non-null value. The descriptors point back into the 
Arrow values buffer.
   
   The encoders for `FIXED_LEN_BYTE_ARRAY` already accept Arrow arrays 
directly. The writer could pass each array slice to the encoder and use the 
same slice to update statistics and Bloom filters, avoiding the scratch space 
and the pass that fills the descriptors.
   
   ### Component(s)
   
   C++, Parquet


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