-
Notifications
You must be signed in to change notification settings - Fork 244
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
fix partition table with partition column name date #1892
fix partition table with partition column name date #1892
Conversation
6319900
to
fa02f75
Compare
/run-all-tests |
/run-all-tests tikv=v4.0.9 tidb=v4.0.9 pd=v4.0.9 |
/run-all-tests tikv=v4.0.8 tidb=v4.0.8 pd=v4.0.8 |
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 tikv=v4.0.8 tidb=v4.0.8 pd=v4.0.8 |
1 similar comment
/run-all-tests tikv=v4.0.8 tidb=v4.0.8 pd=v4.0.8 |
300100a
to
adefe97
Compare
/run-all-tests tikv=v4.0.8 tidb=v4.0.8 pd=v4.0.8 |
2 similar comments
/run-all-tests tikv=v4.0.8 tidb=v4.0.8 pd=v4.0.8 |
/run-all-tests tikv=v4.0.8 tidb=v4.0.8 pd=v4.0.8 |
688d10c
to
1c0093a
Compare
/run-all-tests |
/run-all-tests tikv=v4.0.8 tidb=v4.0.8 pd=v4.0.8 |
/run-all-tests |
/run-all-tests tikv=v4.0.8 tidb=v4.0.8 pd=v4.0.8 |
cherry pick to release-2.4 in PR #1899 |
cherry pick to master in PR #1900 |
private static String wrapColumnName(String columnName) { | ||
if (columnName.startsWith("`") && columnName.endsWith("`")) { | ||
return columnName; | ||
} else if (columnName.contains("(") && columnName.contains(")")) { |
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.
what if columnName = a + b
?
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.
+
is not a partition expression
.
What problem does this PR solve?
fix https://asktug.com/t/topic/67814/6
What is changed and how it works?
partition column name should wrapped with `
Check List
Tests
Code changes
Side effects
Related changes
tidb-ansible
repository