> On the principle ISTM that we should write padded messages, not worry about 
> stream alignment since the latter doesn't always make sense

I would agree with you. In the event that we write to a socket stream, we would 
probably want to keep track of how many bytes have been written, even though 
there is no inherent "position".

This patch digs us out of the hole we were in where various functions were 
manipulating the position of the stream, and the written metadata was 
non-deterministic. So now whether the stream is aligned or not, the content of 
the IPC payload is the same

[ Full content available at: https://github.com/apache/arrow/pull/2615 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to