felipecrv commented on code in PR #44279:
URL: https://github.com/apache/arrow/pull/44279#discussion_r2017009878
##########
cpp/src/arrow/ipc/options.h:
##########
@@ -161,6 +161,12 @@ struct ARROW_EXPORT IpcReadOptions {
/// RecordBatchStreamReader and StreamDecoder classes.
bool ensure_native_endian = true;
+ /// \brief Whether to align incoming data if mis-aligned
+ ///
+ /// Received mis-aligned data is copied to aligned memory locations
allocated via the
+ /// MemoryPool configured as \ref arrow::ipc::IpcReadOptions::memory_pool.
Review Comment:
Or just remove the option and ensure alignment by default on a best-effort
basis as the `RecordBatch` is built and not as an after-the-fact pass.
--
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]