-
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
types: Regard TypeNewDecimal
as not a hasVariantFieldLength
type.
#21849
Conversation
No release note, Please follow https://github.com/pingcap/community/blob/master/contributors/release-note-checker.md |
No release note, Please follow https://github.com/pingcap/community/blob/master/contributors/release-note-checker.md |
1 similar comment
No release note, Please follow https://github.com/pingcap/community/blob/master/contributors/release-note-checker.md |
/run-check_release_note |
/cc eurekaka,dbjoa |
/run-all-tests |
/label needs-cherry-pick-4.0 |
/label bug-fix |
These labels are not found |
Co-authored-by: Kenan Yao <cauchy1992@gmail.com>
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
@LittleFall merge failed. |
ff693ad
/run-all-tests |
/merge |
/run-all-tests |
/run-all-tests |
/merge |
Your auto merge job has been accepted, waiting for:
|
/run-all-tests |
@LittleFall merge failed. |
/merge |
Your auto merge job has been accepted, waiting for:
|
/run-all-tests |
/run-all-tests |
@LittleFall merge failed. |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
cherry pick to release-4.0 in PR #21960 |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com> Co-authored-by: Zhi Qi <30543181+LittleFall@users.noreply.github.com> Co-authored-by: Kenan Yao <cauchy1992@gmail.com>
What problem does this PR solve?
Issue Number: close #21804
Problem Summary:
Tiflash will check whether
Decimal
'sflen
is between 1 and 65. But TiDB enable will push down aDecimal
constant with flen -1 from the environment parameter.What is changed and how it works?
What's Changed:
When creating a
decimal
variable from Parameter, don't set it'sflen
to -1.Other types in
hasVariantFieldLength
don't have this problem.Related changes
Check List
Tests
(will be added to tiflash repo)
test for issue/8644
Side effects
Release note
Wrong precision
.