viirya commented on code in PR #2040: URL: https://github.com/apache/arrow-rs/pull/2040#discussion_r917600451
########## arrow/src/ipc/writer.rs: ########## @@ -1507,4 +1702,60 @@ mod tests { IpcWriteOptions::try_new(8, false, MetadataVersion::V5).unwrap(), ); } + + #[test] + fn truncate_ipc_record_batch() { + pub fn serialize(record: &RecordBatch) -> Vec<u8> { Review Comment: No need to be. I copied from the test provided in the issue. Let me remove it. -- 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