Hi;
If you have odd sized Vec it is not possible to get a zero-copy array
with Arrow. Since you will access to non allocated memory region if you try
to get a zero-copy view on that. What you will receive at the end of your
buffer will be some garbage bytes (not mentioning UB and ownership of the
Hey all,
Is it possible in any way to go from a Rust Vec to an Arrow buffer. I
know the alignments of arrow memory is 8 or 64 bits and this isn't the case
for Rust's Vec type. Could we instantiate a Vec in any way such that a zero
copy PrimitiveArray is possible?
Thanks in advance,
Ritchie Vink