-
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
planner/core: correct column name with unary plus sign #8702
Conversation
oops, it seems there are something wrong with go1.11.4. |
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
/run-all-tests |
/run-unit-test |
/run-all-tests |
/run-cherry-picker |
Signed-off-by: sre-bot <sre-bot@pingcap.com>
cherry pick to release-2.1 in PR #16149 |
What problem does this PR solve?
Column names returned by tidb are inconsistent with which returned by mysql when select field contains one or more positive signs.
The left one showes the result returned by master and the right one is the result returned by mysql.
What is changed and how it works?
Extract inner value from
UnaryOperationExpr
(just like the way we handle parentheses).Check List
Tests
This change is