aakshintala commented on issue #33966: URL: https://github.com/apache/arrow/issues/33966#issuecomment-1412269530
Yes the Java library is reading the data incorrectly. It thinks the data body buffer starts at offset 8 (as the validity buffer only has 8 bytes of data) in the example above. However, the data buffer is actually at offset 64 as I'm padding all of my body buffers to 64. I'm considering just going back to 8 byte padding in my implementation for now, but I think the Java library should respect the offset value in the Buffer metadata and not just add size of the previous buffer to calculate the offset of the next buffer. -- 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]
