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

[mysql] allow users to select one column in the primary key as the chunk key to get chunks. (#1108) #1415

Merged
merged 3 commits into from
Jul 29, 2022

Conversation

ruanhang1993
Copy link
Contributor

This PR has fixed #1108 and contains changes as follow.

  1. add new option 'scan.incremental.snapshot.chunk.key'. Users could select one column in the primary key as the chunk key to get chunks;
  2. rename the options starting with 'split-key' to 'chunk-key' with fallback;
  3. add some tests.

Copy link
Contributor

@leonardBang leonardBang left a comment

Choose a reason for hiding this comment

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

Thanks @ruanhang1993 for the contribution, I left some comments

Copy link
Contributor

@leonardBang leonardBang left a comment

Choose a reason for hiding this comment

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

Thanks @ruanhang1993 for the contribution, LGTM

@leonardBang leonardBang merged commit 0d1ce7a into apache:master Jul 29, 2022
@ruanhang1993 ruanhang1993 deleted the issue1108 branch August 11, 2022 07:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[MySQL] Improve the chunks splitting of table with composite primary key
2 participants