-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Polars on Arrow2 and implement Polars on Arrow-rs #726
base: main
Are you sure you want to change the base?
Conversation
Update arrow-rs with .polars
Update polars
connectorx/Cargo.toml
Outdated
@@ -71,11 +72,12 @@ iai = "0.1" | |||
pprof = {version = "0.5", features = ["flamegraph"]} | |||
|
|||
[features] | |||
all = ["src_sqlite", "src_postgres", "src_mysql", "src_mssql", "src_oracle", "src_bigquery", "src_csv", "src_dummy", "src_trino", "dst_arrow", "dst_arrow2", "federation", "fed_exec"] | |||
all = ["src_sqlite", "src_postgres", "src_mysql", "src_mssql", "src_oracle", "src_bigquery", "src_csv", "src_dummy", "src_trino", "dst_arrow", "dst_arrow2", "dst_arrow", "federation", "fed_exec", "dst_polars"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a duplicate dst_arrow
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. Fixed!
Thanks for drafting the design and submitting the PR! @EricFecteau I will take a deeper look at this by this weekend. |
@EricFecteau , the code looks good to me! In terms of resolving the array type issue, I left a comment in the discussion |
Added the ability to send the data to a modern version of Polars from both Arrow and Arrow2, through the FFI.
Some design decisions were made along the way (described here: #720), but more than willing to change those decisions! Had to disable two tests for Arrow2 as the data was not able to be moved between arrow2 and arrow_polars and these the functionality needed was also not implemented in Arrow.