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

refactor: genericize PolarsDataType #10952

Merged
merged 12 commits into from
Sep 7, 2023
Merged

Conversation

orlp
Copy link
Collaborator

@orlp orlp commented Sep 6, 2023

This should reduce friction with writing generic code by making the static compile-time type relationships available on PolarsDataTypes themselves. I also managed to eliminate theStaticallyMatchesPolars and HasUnderlyingArray traits.

@orlp orlp requested a review from ritchie46 as a code owner September 6, 2023 14:00
@orlp orlp marked this pull request as draft September 6, 2023 14:00
@github-actions github-actions bot added internal An internal refactor or improvement python Related to Python Polars rust Related to Rust Polars labels Sep 6, 2023
@orlp orlp marked this pull request as ready for review September 6, 2023 23:06
@orlp orlp marked this pull request as draft September 6, 2023 23:37
@orlp orlp marked this pull request as ready for review September 6, 2023 23:45
@ritchie46
Copy link
Member

This is great! Reducing future complexity by a lot here. 🙌

@ritchie46 ritchie46 merged commit 64bf7bf into pola-rs:main Sep 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal An internal refactor or improvement python Related to Python Polars rust Related to Rust Polars
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants