Skip to content
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

Support MERGE for MySQL connector #24428

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

chenjian2664
Copy link
Contributor

@chenjian2664 chenjian2664 commented Dec 10, 2024

Description

The tests that are updated in the BaseJdbcConnectorTest because current the implementation of MERGE for Mysql connector requires the table has primary keys, thus modified the table creation logic to use createTestTableForWrites, allowing the MySQL connector test class to override it and add primary keys as needed.

Release notes

## MySQL
* Add support for `MERGE` statement. ({issue}`issuenumber`)

@cla-bot cla-bot bot added the cla-signed label Dec 10, 2024
@chenjian2664 chenjian2664 force-pushed the mysql_merge branch 4 times, most recently from b4e8e08 to c0b86ce Compare December 10, 2024 12:42
@ebyhr
Copy link
Member

ebyhr commented Dec 10, 2024

current the implementation of MERGE for Mysql connector requires the table has primary keys

Is there a test verifying error message when executing MERGE statement on table without primary keys?

@chenjian2664 chenjian2664 force-pushed the mysql_merge branch 3 times, most recently from a4d84a0 to 3deed31 Compare December 16, 2024 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants