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

Make a polars best practices guide #1

Open
nmarchio opened this issue Jan 20, 2024 · 0 comments
Open

Make a polars best practices guide #1

nmarchio opened this issue Jan 20, 2024 · 0 comments

Comments

@nmarchio
Copy link
Member

In working with polars I've observed that the performance of certain functions is greatly impacted by how you construct queries. For instance, sink_parquet works well if the preceding functions only involve joins, filters, and selects (but hits memory errors if you create new variables or simply wont allow window functions). While collect(streaming = True) and more performant than streaming when creating variables.

Another question is how to write parquet datasets with Polars and perform incremental file builds that writes in the correct format with a proper schema.

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

No branches or pull requests

1 participant