Skip to content
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

Open
wants to merge 14 commits into
base: main
Choose a base branch
from

Conversation

EricFecteau
Copy link

@EricFecteau EricFecteau commented Jan 11, 2025

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.

@@ -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"]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a duplicate dst_arrow?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. Fixed!

@wangxiaoying
Copy link
Contributor

Thanks for drafting the design and submitting the PR! @EricFecteau

I will take a deeper look at this by this weekend.

@wangxiaoying
Copy link
Contributor

wangxiaoying commented Jan 17, 2025

@EricFecteau , the code looks good to me! In terms of resolving the array type issue, I left a comment in the discussion

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants