You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "ConnieLerchHdg (via GitHub)" <gi...@apache.org> on 2023/03/20 02:40:06 UTC

[GitHub] [arrow-adbc] ConnieLerchHdg commented on pull request #478: feat(rust): define the rust adbc api

ConnieLerchHdg commented on PR #478:
URL: https://github.com/apache/arrow-adbc/pull/478#issuecomment-1475527586

   Hey there! So, this PR is pretty exciting - it introduces a Rust API for ADBC that's meant to be just as good as the API in other languages like C, Go, and Java.
   
   The new Rust API is pretty similar to the others, but there are a couple of key differences. For instance, two methods on AdbcConnection - get_info() and get_objects() - return Rust data structures instead of Arrow record batch readers. This makes the API more ergonomic and easier to work with.
   
   Both get_info() and get_objects() are designed to be convertible from the C API, so you don't have to worry about compatibility issues. Plus, the info values from get_info() are converted from a UnionArray to a Rust enum, which makes it even easier to work with.


-- 
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