-
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
ddl, planner: make partition table consider collation in create table and select sentence (#20937) #21181
ddl, planner: make partition table consider collation in create table and select sentence (#20937) #21181
Conversation
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
/run-all-tests |
@xiongjiwei please accept the invitation then you can push to the cherry-pick pull requests. |
ddl/partition.go
Outdated
// TODO: Support multiple columns for 'PARTITION BY RANGE COLUMNS'. | ||
if len(s.Partition.ColumnNames) != 1 { | ||
pi.Enable = false | ||
ctx.GetSessionVars().StmtCtx.AppendWarning(ErrUnsupportedPartitionByRangeColumns) | ||
} | ||
======= |
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.
Please resolve conflicts
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
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 |
cherry-pick #20937 to release-4.0
What problem does this PR solve?
Issue Number: close #20879
Problem Summary:
partition table does not consider collation in
create table
andselect
sentence.Check List
Tests
Release note
create table
andselect
sentence.