Skip to content

fix: [Iceberg] Fix decimal corruption#1985

Merged
andygrove merged 2 commits into
apache:mainfrom
andygrove:fix-iceberg-decimals
Jul 3, 2025
Merged

fix: [Iceberg] Fix decimal corruption#1985
andygrove merged 2 commits into
apache:mainfrom
andygrove:fix-iceberg-decimals

Conversation

@andygrove

@andygrove andygrove commented Jul 3, 2025

Copy link
Copy Markdown
Member

Which issue does this PR close?

N/A

Rationale for this change

We need to patch Iceberg source to specify useDecimal128 = true in the Comet integration.

This PR updates the 1.8.1 diff file within Comet to apply this fix.

We also need to fix this in Apache Iceberg repo.

What changes are included in this PR?

How are these changes tested?

Tested manually. The Iceberg integration tests that we run in Comet CI did not detect this bug.

@andygrove andygrove marked this pull request as ready for review July 3, 2025 16:48
@andygrove

Copy link
Copy Markdown
Member Author

@hsiang-c fyi

@hsiang-c

hsiang-c commented Jul 3, 2025

Copy link
Copy Markdown
Contributor

Thanks @andygrove

@codecov-commenter

codecov-commenter commented Jul 3, 2025

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 58.19%. Comparing base (f09f8af) to head (1222ad1).
Report is 310 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #1985      +/-   ##
============================================
+ Coverage     56.12%   58.19%   +2.06%     
- Complexity      976     1151     +175     
============================================
  Files           119      133      +14     
  Lines         11743    13037    +1294     
  Branches       2251     2420     +169     
============================================
+ Hits           6591     7587     +996     
- Misses         4012     4216     +204     
- Partials       1140     1234      +94     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@parthchandra parthchandra left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

lgtm

@andygrove andygrove merged commit 03696b1 into apache:main Jul 3, 2025
92 checks passed
@andygrove andygrove deleted the fix-iceberg-decimals branch July 3, 2025 18:45
hsiang-c added a commit to hsiang-c/datafusion-comet that referenced this pull request Jul 3, 2025
coderfender pushed a commit to coderfender/datafusion-comet that referenced this pull request Dec 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants