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

fix: Fix incorrectly added sorted flag after append for lexically ordered categorical series #20414

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

siddharth-vi
Copy link
Contributor

After doing merge operation, the physical representation might get the sorted flag set. For lexical ordering we should not be setting this flag at all. Have added a small check which ensures that this flag is not set.
Fixes #19900 .

@github-actions github-actions bot added fix Bug fix python Related to Python Polars rust Related to Rust Polars labels Dec 23, 2024
Copy link

codecov bot commented Dec 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.98%. Comparing base (db1684d) to head (0f54d83).
Report is 25 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #20414      +/-   ##
==========================================
- Coverage   79.10%   78.98%   -0.12%     
==========================================
  Files        1572     1562      -10     
  Lines      219958   220114     +156     
  Branches     2465     2486      +21     
==========================================
- Hits       173991   173866     -125     
- Misses      45399    45675     +276     
- Partials      568      573       +5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Bug fix python Related to Python Polars rust Related to Rust Polars
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Appending series of type pl.Categorical("lexical") may incorrectly set the sorted flag
1 participant