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: Fall back to Spark when hashing decimals with precision > 18 #1325

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

Conversation

andygrove
Copy link
Member

Which issue does this PR close?

Closes #1294

Rationale for this change

Fix correctness issue

What changes are included in this PR?

Fall back to Spark when hashing decimals with precision > 18

How are these changes tested?

@codecov-commenter
Copy link

codecov-commenter commented Jan 22, 2025

Codecov Report

Attention: Patch coverage is 80.95238% with 4 lines in your changes missing coverage. Please review.

Project coverage is 34.31%. Comparing base (f09f8af) to head (28a8df4).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...k/src/main/scala/org/apache/comet/serde/hash.scala 69.23% 2 Missing and 2 partials ⚠️
Additional details and impacted files
@@              Coverage Diff              @@
##               main    #1325       +/-   ##
=============================================
- Coverage     56.12%   34.31%   -21.82%     
- Complexity      976     1009       +33     
=============================================
  Files           119      125        +6     
  Lines         11743    48199    +36456     
  Branches       2251    10565     +8314     
=============================================
+ Hits           6591    16538     +9947     
- Misses         4012    28361    +24349     
- Partials       1140     3300     +2160     

☔ 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
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Result mismatch with vanilla spark in hash function with decimal input
2 participants