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

[Improve][Connector-V2] Improve schema evolution on column insert after for mysql-jdbc #8017

Merged
merged 8 commits into from
Nov 16, 2024

Conversation

jw-itq
Copy link
Contributor

@jw-itq jw-itq commented Nov 11, 2024

Improve #8015

Purpose of this pull request

Does this PR introduce any user-facing change?

How was this patch tested?

Check list

Copy link
Member

@Hisoka-X Hisoka-X left a comment

Choose a reason for hiding this comment

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

Thanks @jw-itq ! Could you add a test case?

@Hisoka-X Hisoka-X linked an issue Nov 11, 2024 that may be closed by this pull request
3 tasks
@jw-itq
Copy link
Contributor Author

jw-itq commented Nov 11, 2024

Thanks @jw-itq ! Could you add a test case?
Yes, I am writing

@github-actions github-actions bot added the e2e label Nov 12, 2024
columns.stream()
.filter(column -> afterColumn.equals(column.getName()))
.findFirst();
columnOptional.ifPresent(
Copy link
Member

Choose a reason for hiding this comment

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

if not present (basically not happen, but we should care about it), it will lose column?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

thanks,I will fix it

Copy link
Member

@Hisoka-X Hisoka-X left a comment

Choose a reason for hiding this comment

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

LGTM. cc @dailai and @hailin0

@Hisoka-X Hisoka-X changed the title [Improve][Connector-V2] Support schema evolution column insertion for mysql-jdbc [Improve][Connector-V2] Improve schema evolution on column insert after for mysql-jdbc Nov 13, 2024
@dailai
Copy link
Contributor

dailai commented Nov 14, 2024

@hailin0 Please have a look. Should this pr need to adapt the new api which is introduced by the pr #7463.

@hailin0
Copy link
Member

hailin0 commented Nov 14, 2024

@jw-itq Thanks, please rebase dev branch

cc @dailai

@hailin0 hailin0 merged commit 3fb05da into apache:dev Nov 16, 2024
4 checks passed
fcb-xiaobo pushed a commit to fcb-xiaobo/seatunnel that referenced this pull request Nov 18, 2024
fcb-xiaobo pushed a commit to fcb-xiaobo/seatunnel that referenced this pull request Nov 18, 2024
hawk9821 pushed a commit to hawk9821/seatunnel that referenced this pull request Nov 18, 2024
hawk9821 pushed a commit to hawk9821/seatunnel that referenced this pull request Nov 18, 2024
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.

[Improve][Connector-V2] Support schema evolution column insertion for mysql-jdbc
4 participants