HuaHuaY opened a new issue, #55853: URL: https://github.com/apache/arrow/issues/55853
### Describe the enhancement requested When a validity bitmap is present, the generic `PlainEncoder::PutSpaced()` allocates a temporary buffer large enough for every input slot. It copies the non-null elements into that buffer and passes them to `Put()`. For fixed-width values, `Put()` then copies the same values into the encoder's output buffer. We can compact them directly into the output buffer. For `BYTE_ARRAY` and `FIXED_LEN_BYTE_ARRAY`, we can pass each contiguous run of valid descriptors to the existing `Put()` implementation. ### 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]
