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. DetailsReviewer 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 <xufeixw@mail.ustc.edu.cn>
Signed-off-by: xufei <xufeixw@mail.ustc.edu.cn>
Signed-off-by: xufei <xufeixw@mail.ustc.edu.cn>
|
Also need to update the test reference in |
|
/merge |
|
This pull request has been accepted and is ready to merge. DetailsCommit 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 xufeixw@mail.ustc.edu.cn
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/avgto its input argument, this is actually a workaround as the review comments shows:The only reason to do so is that
baseAvgDecimaldoes not have the return type, however, after #30010,baseAvgDecimaldo 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.