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: Implement nested Parquet writing for High-Precision Decimals #19476

Merged

Conversation

coastalwhite
Copy link
Collaborator

This implements writing the writing of arbitrary nested FixedSizeBinary, which in particular allows for the writing of nested high-precision decimals. This removes the silent data-loss that was happening before.

Fixes #19448.

This implements writing the writing of arbitrary nested `FixedSizeBinary`,
which in particular allows for the writing of nested high-precision decimals.
This removes the silent data-loss that was happening before.

Fixes pola-rs#19448.
@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 Oct 27, 2024
Copy link

codecov bot commented Oct 27, 2024

Codecov Report

Attention: Patch coverage is 85.36585% with 12 lines in your changes missing coverage. Please review.

Project coverage is 80.00%. Comparing base (60d0721) to head (2d122f6).
Report is 7 commits behind head on main.

Files with missing lines Patch % Lines
crates/polars-parquet/src/arrow/write/mod.rs 33.33% 12 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #19476      +/-   ##
==========================================
+ Coverage   79.90%   80.00%   +0.10%     
==========================================
  Files        1534     1536       +2     
  Lines      211161   211261     +100     
  Branches     2444     2445       +1     
==========================================
+ Hits       168732   169026     +294     
+ Misses      41874    41680     -194     
  Partials      555      555              

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

@ritchie46 ritchie46 merged commit 40c7072 into pola-rs:main Oct 27, 2024
26 checks passed
@coastalwhite coastalwhite deleted the feat/writing-pq-high-prec-decimals branch October 27, 2024 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or an improvement of an existing feature python Related to Python Polars rust Related to Rust Polars
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect writing of NULL rows for struct column containing Decimal with precision >18 to Parquet
2 participants