-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
chenjian2664
wants to merge
1
commit into
trinodb:master
Choose a base branch
from
chenjian2664:mysql_merge
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ebyhr
reviewed
Dec 10, 2024
plugin/trino-mysql/src/test/java/io/trino/plugin/mysql/BaseMySqlConnectorTest.java
Outdated
Show resolved
Hide resolved
plugin/trino-base-jdbc/src/test/java/io/trino/plugin/jdbc/BaseJdbcConnectorTest.java
Show resolved
Hide resolved
chenjian2664
force-pushed
the
mysql_merge
branch
4 times, most recently
from
December 10, 2024 12:42
b4e8e08
to
c0b86ce
Compare
Is there a test verifying error message when executing MERGE statement on table without primary keys? |
chenjian2664
force-pushed
the
mysql_merge
branch
3 times, most recently
from
December 16, 2024 09:06
a4d84a0
to
3deed31
Compare
chenjian2664
force-pushed
the
mysql_merge
branch
2 times, most recently
from
December 19, 2024 07:52
537b087
to
1146ad7
Compare
This pull request has gone a while without any activity. Tagging for triage help: @mosabua |
chenjian2664
force-pushed
the
mysql_merge
branch
2 times, most recently
from
January 15, 2025 09:51
d20d159
to
5b93e35
Compare
Dont forget the docs update .. should be an easy one line include now .. |
chenjian2664
force-pushed
the
mysql_merge
branch
from
January 15, 2025 23:05
5b93e35
to
d25cda3
Compare
Thank you @chenjian2664 |
ebyhr
reviewed
Jan 16, 2025
plugin/trino-mysql/src/test/java/io/trino/plugin/mysql/BaseMySqlFailureRecoveryTest.java
Outdated
Show resolved
Hide resolved
...ysql/src/test/java/io/trino/plugin/mysql/TestMySqlGlobalTransactionMyConnectorSmokeTest.java
Outdated
Show resolved
Hide resolved
...ysql/src/test/java/io/trino/plugin/mysql/TestMySqlGlobalTransactionMyConnectorSmokeTest.java
Outdated
Show resolved
Hide resolved
...ysql/src/test/java/io/trino/plugin/mysql/TestMySqlGlobalTransactionMyConnectorSmokeTest.java
Outdated
Show resolved
Hide resolved
plugin/trino-mysql/src/test/java/io/trino/plugin/mysql/BaseMySqlConnectorTest.java
Outdated
Show resolved
Hide resolved
plugin/trino-mysql/src/test/java/io/trino/plugin/mysql/BaseMySqlConnectorTest.java
Outdated
Show resolved
Hide resolved
plugin/trino-mysql/src/test/java/io/trino/plugin/mysql/BaseMySqlConnectorTest.java
Outdated
Show resolved
Hide resolved
plugin/trino-mysql/src/test/java/io/trino/plugin/mysql/BaseMySqlConnectorTest.java
Outdated
Show resolved
Hide resolved
plugin/trino-mysql/src/main/java/io/trino/plugin/mysql/MySqlClient.java
Outdated
Show resolved
Hide resolved
plugin/trino-mysql/src/main/java/io/trino/plugin/mysql/MySqlClient.java
Outdated
Show resolved
Hide resolved
chenjian2664
force-pushed
the
mysql_merge
branch
from
January 20, 2025 02:45
c38e620
to
35191c2
Compare
Co-Authored-By: Yuya Ebihara <[email protected]>
chenjian2664
force-pushed
the
mysql_merge
branch
from
January 20, 2025 03:12
35191c2
to
527676b
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 usecreateTestTableForWrites
, allowing the MySQL connector test class to override it and add primary keys as needed.Release notes