-
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
expression: fix type infer for decimal property in count agg #17368
Conversation
/run-all-tests |
/rebuild |
Codecov Report
@@ Coverage Diff @@
## master #17368 +/- ##
===========================================
Coverage 79.5044% 79.5044%
===========================================
Files 524 524
Lines 141445 141445
===========================================
Hits 112455 112455
Misses 19928 19928
Partials 9062 9062 |
@SunRunAway, @qw4990, @wshwsh12, PTAL. |
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
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
Your auto merge job has been accepted, waiting for:
|
/merge |
/run-all-tests |
@lysu merge failed. |
/merge |
Sorry @lysu, you don't have permission to trigger auto merge event on this branch. You are not a committer for this part |
/merge |
Your auto merge job has been accepted, waiting for:
|
/run-common-test |
/run-all-tests |
@lysu merge failed. |
Signed-off-by: sre-bot <sre-bot@pingcap.com>
cherry pick to release-3.0 in PR #17702 |
Signed-off-by: sre-bot <sre-bot@pingcap.com>
cherry pick to release-3.1 in PR #17703 |
Signed-off-by: sre-bot <sre-bot@pingcap.com>
cherry pick to release-4.0 in PR #17704 |
What problem does this PR solve?
Issue Number: close #17367
Problem Summary:
type infer for decimal property in count agg in inaccurate.
so it will make some GUI client output some stranger results like this:
What is changed and how it works?
What's Changed:
make count agg's decimal property always be 0(because count result always be a interger)
Related changes
Check List
Tests
Side effects
Release note
This change is![Reviewable](https://camo.githubusercontent.com/1541c4039185914e83657d3683ec25920c672c6c5c7ab4240ee7bff601adec0b/68747470733a2f2f72657669657761626c652e696f2f7265766965775f627574746f6e2e737667)