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

feat: move Enum/Categorical categories to binview #13882

Merged
merged 7 commits into from
Jan 22, 2024
Merged

feat: move Enum/Categorical categories to binview #13882

merged 7 commits into from
Jan 22, 2024

Conversation

ritchie46
Copy link
Member

No description provided.

@github-actions github-actions bot added enhancement New feature or an improvement of an existing feature python Related to Python Polars rust Related to Rust Polars labels Jan 21, 2024
@ritchie46 ritchie46 merged commit 3dc9018 into main Jan 22, 2024
18 of 22 checks passed
@ritchie46 ritchie46 deleted the categorical branch January 22, 2024 07:31
@c-peters c-peters added the accepted Ready for implementation label Jan 23, 2024
r-brink pushed a commit to r-brink/polars that referenced this pull request Jan 24, 2024
ArrowDataType::Dictionary(_, _, _) => {
let array = array
.as_any()
.downcast_ref::<DictionaryArray<u32>>()
Copy link
Contributor

Choose a reason for hiding this comment

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

This assumes that we are using u32 for dictionary keys. This is causing issues for us since we use u16 for our files (the column has low cardinality). What would you recommend we do?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted Ready for implementation enhancement New feature or an improvement of an existing feature python Related to Python Polars rust Related to Rust Polars
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants