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

Fix mysql advanced sync rule execute error #3044

Merged
merged 3 commits into from
Dec 18, 2024
Merged

Conversation

JunJie-GitHub
Copy link
Contributor

BUG: When configuring the advanced sync rule for the MySQL connector, the sync action throws an error: 'MySQLClient.yield_rows_for_query() missing 1 required positional argument: 'primary_key_columns''.

Root Cause: The yield_rows_for_query method is called without the required primary_key_columns parameter.

Fix: Add the missing primary_key_columns parameter when calling the yield_rows_for_query method.

@JunJie-GitHub JunJie-GitHub requested a review from a team as a code owner December 17, 2024 11:02
Copy link

cla-checker-service bot commented Dec 17, 2024

💚 CLA has been signed

@JunJie-GitHub JunJie-GitHub marked this pull request as ready for review December 17, 2024 11:49
@seanstory
Copy link
Member

buildkite test this

@seanstory
Copy link
Member

buildkite test this

Copy link
Member

@seanstory seanstory left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@seanstory seanstory enabled auto-merge (squash) December 18, 2024 20:22
@seanstory seanstory merged commit 64289ce into elastic:main Dec 18, 2024
2 checks passed
Copy link

💔 Failed to create backport PR(s)

The backport operation could not be completed due to the following error:
There are no branches to backport to. Aborting.

The backport PRs will be merged automatically after passing CI.

To backport manually run:
backport --pr 3044 --autoMerge --autoMergeMethod squash

@seanstory
Copy link
Member

Thanks for the contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants