[RUST] Zero-copy Vec -> PrimitiveArray

2020-07-22 Thread Ritchie Vink
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

Comparison when one array is sliced seems flawed.

2020-07-16 Thread Ritchie Vink
Hey all, First of all, thanks for the great work on Arrow! It is a really cool and promising initiative. I am using arrow as a backend for a DataFrame library in Rust, and I have hit the following issue. If I *slice* an array and *compare* it for equality with a *non-sliced* array the comparison l