Jefffrey commented on issue #9286: URL: https://github.com/apache/arrow-rs/issues/9286#issuecomment-3808708601
I think root cause is that in truncate we set the length regardless of if it is smaller than current length or not: https://github.com/apache/arrow-rs/blob/a49af1de8543b844430d799dff89d125a6f87221/arrow-buffer/src/builder/mod.rs#L310-L334 - We state `If len is greater than builder's current length, this has no effect` - But we still set length of builder to the passed in length -- 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]
