-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
*: use errctx to handle divide zero error #50042
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #50042 +/- ##
=================================================
+ Coverage 71.8820% 81.8990% +10.0169%
=================================================
Files 1439 2442 +1003
Lines 346160 673020 +326860
=================================================
+ Hits 248827 551197 +302370
- Misses 77058 101084 +24026
- Partials 20275 20739 +464
Flags with carried forward coverage won't be shown. Click here to find out more.
|
193ef18
to
01233c9
Compare
a57f791
to
56ddaee
Compare
/hold wait #5007 merged first |
/approve |
56ddaee
to
b37d083
Compare
/unhold |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rest LGTM
b37d083
to
2c7472e
Compare
2c7472e
to
05cff48
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/retest |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: lance6716, tangenta, XuHuaiyu, YangKeao The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What problem does this PR solve?
Issue Number: close #50041
What changed and how does it work?
use errctx to handle divide zero error
StatementContext.DividedByZeroAsWarning
and use the error groupErrDivisionByZero
to mark the error handle level.StatementContext.InReorg
because it is useless now.Check List
Tests
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.