-
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
parser: add collations from MySQL 8.0 #33212
Conversation
Signed-off-by: lance6716 <lance6716@gmail.com>
[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-mysql-test |
parser/parser_test.go
Outdated
@@ -21,6 +21,8 @@ import ( | |||
"testing" | |||
|
|||
"github.com/pingcap/errors" | |||
"github.com/stretchr/testify/require" | |||
|
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.
。。。
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's the rule of separating 3-rd party imports? parser/charset/charset.go did so but this file didn't
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.
We don't care about it.
/merge |
This pull request has been accepted and is ready to merge. Commit hash: e68b419
|
Code Coverage Details: https://codecov.io/github/pingcap/tidb/commit/27d18f29f627cda5b93fda20ebdb43ca16ffd2e6 |
Signed-off-by: lance6716 lance6716@gmail.com
What problem does this PR solve?
Issue Number: ref #7968
Problem Summary:
DM failed to parse CREATE TABLE when upstream is MySQL 8.0, like https://asktug.com/t/topic/573639
What is changed and how it works?
add parser support for collations in MySQL 8.0.
Check List
Tests
Side effects
Documentation
Release note