notfilippo opened a new issue, #5631:
URL: https://github.com/apache/arrow-rs/issues/5631
**Describe the bug**
<!--
A clear and concise description of what the bug is.
-->
`C Data interface error: The datatype ""+r"" is still not supported in Rust
implementation`
**To Reproduce**
<!--
Steps to reproduce the behavior:
-->
```rust
let value_data = PrimitiveArray::<Int8Type>::from_iter_values([10_i8, 11,
12, 13, 14, 15, 16, 17]);
// Construct a run_ends array:
let run_ends_values = [4_i32, 6, 7, 9, 13, 18, 20, 22];
let run_ends_data =
PrimitiveArray::<Int32Type>::from_iter_values(run_ends_values.iter().copied());
// Construct a run ends encoded array from the above two
let ree_array = RunArray::<Int32Type>::try_new(&run_ends_data,
&value_data).unwrap();
// export it
let (array, schema) = to_ffi(&ree_array.to_data())?;
// (simulate consumer) import it
let data = unsafe { from_ffi(array, &schema) }?;
```
**Expected behavior**
<!--
A clear and concise description of what you expected to happen.
-->
The `RunArray` can be converted to / from the C data interface.
--
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]