-
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
planner: avoid change the type of the input of sum/avg #36372
Conversation
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
/run-integration-common-test |
Please follow PR Title Format:
Or if the count of mainly changed packages are more than 3, use
After you have format title, you can leave a comment |
/run-mysql-test tidb-test=pr/1895 |
1 similar comment
/run-mysql-test tidb-test=pr/1895 |
/run-check_dev_2 |
/run-mysql-test tidb-test=pr/1895 |
/run-integration-common-test |
a6a020e
to
31de0d3
Compare
/run-unit-test |
Code Coverage Details: https://codecov.io/github/pingcap/tidb/commit/df95a77b35d9ae7b9c3ef55d45292399fa6819e3 |
Signed-off-by: xufei <[email protected]>
Signed-off-by: xufei <[email protected]>
Signed-off-by: xufei <[email protected]>
Signed-off-by: xufei <[email protected]>
Signed-off-by: xufei <[email protected]>
Signed-off-by: xufei <[email protected]>
Signed-off-by: xufei <[email protected]>
Signed-off-by: xufei <[email protected]>
Also need to update the test reference in |
/merge |
This pull request has been accepted and is ready to merge. Commit hash: 3813b8c
|
/run-mysql-test tidb-test=pr/1895 |
TiDB MergeCI notify🔴 Bad News! New failing [1] after this pr merged.
|
Signed-off-by: xufei [email protected]
What problem does this PR solve?
Issue Number: close #36371
Problem Summary:
What is changed and how it works?
In #7860, it saved the return type of
sum/avg
to its input argument, this is actually a workaround as the review comments shows:The only reason to do so is that
baseAvgDecimal
does not have the return type, however, after #30010,baseAvgDecimal
do have the return type information, so we can use the return type information directly, and it makes no sense to save the return type in the input argument anymore.This pr remove the related codes.
Check List
Tests
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.