As I suggested in https://github.com/apache/arrow/pull/44279#issuecomment-2757128297 , do we want to make this a `enum` for a more future-proof API?

i.e., instead of:
```
bool ensure_alignment = false;
```

have:
```
enum Alignment {
  kNoAlignment, kNaturalAlignment
};

Alignment ensure_alignment = kNoAlignment;
```

Regards

Antoine.



Le 27/03/2025 à 09:56, Enrico Minack a écrit :
Hi devs,

we are planning to add a new  IPC read option:

|IpcReadOptions.ensure_memory_alignment|

This makes the IPC reader ensure that returned data are memory aligned
(as for instance required by Apache Arrow Rust).
Default is |false| as it is understood that data from gRPC always has to
be re-aligned (memory copied) if required.

Details and discussion: https://github.com/apache/arrow/pull/44279

Thanks for your thoughts,
Enrico M.

Reply via email to