-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
executor: fix insert ignore
into not exists partition (#21904)
#21971
executor: fix insert ignore
into not exists partition (#21904)
#21971
Conversation
/run-all-tests |
@lysu you're already a collaborator in bot's repo. |
Please fix CI. |
/run-all-tests |
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
/merge |
Your auto merge job has been accepted, waiting for:
|
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
Signed-off-by: lysu <sulifx@gmail.com>
49b5fcd
to
9c1d1e9
Compare
@zz-jason conflict resolved, please help merge if free thx |
/merge |
Your auto merge job has been accepted, waiting for:
|
/run-all-tests |
cherry-pick #21904 to release-4.0
Signed-off-by: lysu sulifx@gmail.com
What problem does this PR solve?
Issue Number: close #21894
Problem Summary:
just as issue said, insert ignore to a non-exists should not report error
https://dev.mysql.com/doc/refman/8.0/en/sql-mode.html#ignore-effect-on-execution
What is changed and how it works?
What's Changed, How it Works:
ignore rows that cannot found partition and continue insert remain rows
Related changes
Check List
Tests
Side effects
Release note
insert ignore
into not exists partition should not report error