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: Ensure struct eq/ne_missing also compares outer validity #19443

Merged
merged 1 commit into from
Oct 25, 2024

Conversation

nameexhaustion
Copy link
Collaborator

Fixes #19156

@github-actions github-actions bot added fix Bug fix python Related to Python Polars rust Related to Rust Polars labels Oct 25, 2024
@nameexhaustion nameexhaustion changed the title fix: Ensure struct eq_missing also compares outer validity fix: Ensure struct eq/ne_missing also compares outer validity Oct 25, 2024
@@ -1255,6 +1255,9 @@ def test_parquet_list_element_field_name() -> None:
assert "child 0, element: int64" in schema_str


@pytest.mark.skip(
reason="TODO: fix Parquet writing Decimal-in-struct with precision > 18"
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

opened an issue for this at #19448 - this bug had always existed but we never caught it because assert_frame_equal used the incorrect eq_missing on structs

Copy link

codecov bot commented Oct 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.94%. Comparing base (34b1dc5) to head (92638e2).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #19443      +/-   ##
==========================================
- Coverage   79.96%   79.94%   -0.03%     
==========================================
  Files        1534     1534              
  Lines      211037   211059      +22     
  Branches     2444     2444              
==========================================
- Hits       168755   168721      -34     
- Misses      41727    41783      +56     
  Partials      555      555              

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

@ritchie46
Copy link
Member

A rebase away.

@ritchie46 ritchie46 merged commit 7a2f547 into pola-rs:main Oct 25, 2024
25 checks passed
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.

Struct eq_missing treats {'x': NULL} as equal to NULL
2 participants