lidavidm commented on issue #37704: URL: https://github.com/apache/arrow/issues/37704#issuecomment-1723322100
I think you actually want [`MessageSerializer.serialize`](https://github.com/apache/arrow/blob/main/java/vector/src/main/java/org/apache/arrow/vector/ipc/message/MessageSerializer.java#L161) and not `serializeMetadata` because despite the documentation, the former also [writes the IPC prefix](https://github.com/apache/arrow/blob/main/java/vector/src/main/java/org/apache/arrow/vector/ipc/message/MessageSerializer.java#L128-L140) while the latter doesn't. (Overall, `MessageSerializer` is confusing and ad-hoc and could/should probably be reworked at some time.) -- 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]
