jacques-n commented on issue #32276:
URL: https://github.com/apache/arrow/issues/32276#issuecomment-1739302857

   It was never the intention that flight data on the receiving side must be 
aligned. The intention some of us always had was if you need something aligned 
and it isn't you pay the copy then, not before. It'd be great for individual 
flight clients to have an option to ensure aligned with clear messaging about 
this possibly incurring a copy but forcing flight to always be aligned because 
some people rely on alignment just punishes those that don't. If presented as 
an option, this allows the individual client implementations to choose to 
optimize away copies now, later or never. 
   
   (As a note the documentation cited above says nothing about the receiving 
side afaict).
   
   Wrt to unknown tag padding. We could simply add one more dummy field (I 
don't believe there is any requirement for tags to be in order in messages) or 
simply restate a field with the first one being arbitrary padding. If I recall 
correctly, protobuf spec is that the last tag value for a specific tag within a 
message wins and previous ones should be ignored. (comes from streaming where 
something can be overridden by being expressed a second 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]

Reply via email to