You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/03/04 01:36:55 UTC

[GitHub] [arrow-rs] sunchao opened a new issue #1397: Support dictionary array in C data interface

sunchao opened a new issue #1397:
URL: https://github.com/apache/arrow-rs/issues/1397


   **Is your feature request related to a problem or challenge? Please describe what you are trying to do.**
   
   Currently it seems the Arrow FFI interface doesn't support dictionary yet. Even though the [field exists](https://github.com/apache/arrow-rs/blob/master/arrow/src/ffi.rs#L328) in `FFI_ArrowArray`, it is never assigned or used.
   
   Unlike the C++ implementation, `ArrayData` doesn't have a dictionary field either.
   
   **Describe the solution you'd like**
   
   I haven't looked closely, but I think roughly we should have dictionary in `ArrayData` first? after that exporting it via the FFI will be straightforward.
   
   **Describe alternatives you've considered**
   N/A
   
   **Additional context**
   N/A
   


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [arrow-rs] sunchao commented on issue #1397: Support dictionary array in C data interface

Posted by GitBox <gi...@apache.org>.
sunchao commented on issue #1397:
URL: https://github.com/apache/arrow-rs/issues/1397#issuecomment-1058748778


   [`DictionaryArray`](https://github.com/apache/arrow-rs/blob/master/arrow/src/array/array_dictionary.rs) also needs change as it is currently not C data interface compatible - when exporting to `ArrayData` it needs to populate the dictionary field in the output.


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [arrow-rs] sunchao closed issue #1397: Support dictionary array in C data interface

Posted by GitBox <gi...@apache.org>.
sunchao closed issue #1397:
URL: https://github.com/apache/arrow-rs/issues/1397


   


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org