mapleFU commented on issue #39227:
URL: https://github.com/apache/arrow/issues/39227#issuecomment-2024597509

   ```c++
   class BooleanDecoder : virtual public TypedDecoder<BooleanType> {
    public:
     using TypedDecoder<BooleanType>::Decode;
   
     /// \brief Decode and bit-pack values into a buffer
     ///
     /// \param[in] buffer destination for decoded values
     /// This buffer will contain bit-packed values.
     /// \param[in] max_values max values to decode.
     /// \return The number of values decoded. Should be identical to 
max_values except
     /// at the end of the current data page.
     virtual int Decode(uint8_t* buffer, int max_values) = 0;
   };
   ```
   
   RecordReader might read un-aligned batch here 🤔, maybe we need re-copying 
the bitmap in record reader


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