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: Optimize CheckOverflow #852

Merged

Conversation

kazuyukitanimura
Copy link
Contributor

Which issue does this PR close?

Rationale for this change

This PR improves CheckOverflow performance

What changes are included in this PR?

This PR directly calls arrow validation methods

How are these changes tested?

Existing tests

@kazuyukitanimura
Copy link
Contributor Author

add_many_decimals

Before

Screenshot 2024-08-19 at 4 28 47 PM

After

Screenshot 2024-08-19 at 4 27 53 PM

@kazuyukitanimura kazuyukitanimura marked this pull request as ready for review August 19, 2024 23:57
Copy link
Member

@andygrove andygrove left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks @kazuyukitanimura

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 55.15%. Comparing base (c9af3f4) to head (494cf8d).
Report is 3 commits behind head on main.

Additional details and impacted files
@@              Coverage Diff              @@
##               main     #852       +/-   ##
=============================================
+ Coverage     34.05%   55.15%   +21.09%     
+ Complexity      879      857       -22     
=============================================
  Files           112      109        -3     
  Lines         42959    10542    -32417     
  Branches       9488     2010     -7478     
=============================================
- Hits          14629     5814     -8815     
+ Misses        25330     3714    -21616     
+ Partials       3000     1014     -1986     

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

@kazuyukitanimura kazuyukitanimura merged commit 829656c into apache:main Aug 20, 2024
74 checks passed
@kazuyukitanimura
Copy link
Contributor Author

Merged, thanks @andygrove

himadripal pushed a commit to himadripal/datafusion-comet that referenced this pull request Sep 7, 2024
## Which issue does this PR close?

## Rationale for this change

This PR improves CheckOverflow performance

## What changes are included in this PR?

This PR directly calls arrow validation methods

## How are these changes tested?

Existing tests

(cherry picked from commit 829656c)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants