rtpsw commented on issue #35498:
URL: https://github.com/apache/arrow/issues/35498#issuecomment-1541508585

   > My understanding is that alignment is "recommended but not required _for 
in memory data_", it's only when serializing (IPC) that the requirement is 
enforced 
(https://arrow.apache.org/docs/dev/format/Columnar.html#buffer-alignment-and-padding)?
   
   That sounds right per the spec, though avoiding the recommendation may lead 
to other kinds of performance degradation. In practice, the existing Arrow code 
checks alignment of in-memory buffers (at least in [the place I pointed 
to](https://github.com/apache/arrow/issues/35498#issuecomment-1541477582)), 
despite what the spec says, and it would be a much wider scope of an issue to 
change that. Given all this, I think we need to consider what makes sense for a 
resolution in the short-term vs the longer-term.


-- 
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