mbrobbel commented on code in PR #8242: URL: https://github.com/apache/arrow-rs/pull/8242#discussion_r2311568519
########## arrow-avro/src/reader/mod.rs: ########## @@ -773,6 +810,19 @@ mod test { .expect("decoder") } + fn make_id_prefix(id: u32) -> Vec<u8> { + let mut out = Vec::with_capacity(1 + 4); Review Comment: Sorry if it wasn't clear, my suggestion was to also allocate the additional bytes written to this buffer via `make_message_id`. -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org