aakshintala commented on issue #33966: URL: https://github.com/apache/arrow/issues/33966#issuecomment-1412793034
Okay so. This turned out to be a red herring for my particular issue... There was a bug in my implementation... Fixing that fixed the incorrect data issue. The issue still remains that the calculation of bufferLayouts in [ArrowRecordBatch.java](https://github.com/apache/arrow/blob/7eeb74edaf29031ee1c9b0547c03a46a94323477/java/vector/src/main/java/org/apache/arrow/vector/ipc/message/ArrowRecordBatch.java#L118) is incorrect... Those computed layouts are used by the `toString()` function and apparently only for Java-specific testing (Java<->Java roundtrip). The wrong buffer offsets reported via the `toString()` function drove me down the wrong path.. 🤦🏽♂️ -- 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]
