-
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: fix type infer for decimal property in count agg (#17368) #17704
expression: fix type infer for decimal property in count agg (#17368) #17704
Conversation
Signed-off-by: sre-bot <sre-bot@pingcap.com>
/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
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
unit test fails because of #16958 |
/merge |
Your auto merge job has been accepted, waiting for:
|
/run-all-tests |
/run-all-tests |
@sre-bot merge failed. |
cherry-pick #17368 to release-4.0
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