pitrou commented on issue #37069: URL: https://github.com/apache/arrow/issues/37069#issuecomment-1680947635
I think the problem is [here](https://github.com/apache/arrow/blob/d330d1b36c87ea43bfd16e1bc43a4ff9876abb4b/csharp/src/Apache.Arrow/Ipc/ArrowStreamWriter.cs#L78). `TotalLength` sums the buffer lengths for an entire record batch, but it's a 32-bit integer. `WriteRecordBatchInternal` then writes it as the message's body length. I think for sanity and robustness the C# implementation should strive to use `long` for all lengths and sizes, instead of an ad hoc mix of `int`s and `long`s. @CurtHagenlocher @eerhardt @chutchinson -- 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]
