garyanaplan commented on issue #349:
URL: https://github.com/apache/arrow-rs/issues/349#issuecomment-858513251


   More poking reveals that PlainEncoder has a bit_writer with a hard-coded 
size of 256 (big enough to hold 2048 bits...).
   `src/encodings/encoding.rs: line             bit_writer: BitWriter::new(256),
   `
   If you adjust that value up or down you trip the error at different times. 
So, that looks like it's a contributing factor. I'm now trying to understand 
the logic around buffer flushing and re-use. Feel, like I'm getting close to 
the root cause.


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to