-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
expression: check ErrTruncate/Overflow for CastRealAsDecimalSig #18961
Conversation
/run-unit-test |
/run-all-tests |
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
Codecov Report
@@ Coverage Diff @@
## master #18961 +/- ##
===========================================
Coverage 79.5524% 79.5524%
===========================================
Files 546 546
Lines 148551 148551
===========================================
Hits 118176 118176
Misses 20907 20907
Partials 9468 9468 |
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
/merge |
/run-all-tests |
@XuHuaiyu merge failed. |
/run-check_dev |
Signed-off-by: ti-srebot <[email protected]>
cherry pick to release-4.0 in PR #18967 |
Signed-off-by: ti-srebot <[email protected]> Co-authored-by: HuaiyuXu <[email protected]>
What problem does this PR solve?
Issue Number: close #16147
Problem Summary:
Before this commit, the truncate/overflow error of children of
builtinArithmeticIntDivideDecimalSig
is checked inbuiltinArithmeticIntDivideDecimalSig.vecEvalInt
. But when the error happens, thebuf[0]
orbuf[1]
maybe not initialized, and thus cause theshould ensure all columns have the same length
panic inMergeNulls
.What is changed and how it works?
Proposal: xxx
What's Changed:
Remove the check for children's truncate/overflow error in
builtinArithmeticIntDivideDecimalSig
How it Works:
Related changes
Check List
Tests
exists test
Side effects
N/A
Release note