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

[Feature][transform-v2] SQL transform support schema change #8438

Open
wants to merge 7 commits into
base: dev
Choose a base branch
from

Conversation

CosmosNi
Copy link
Contributor

@CosmosNi CosmosNi commented Jan 3, 2025

SQL transform support schema change.

Purpose of this pull request

Does this PR introduce any user-facing change?

How was this patch tested?

Check list

@hailin0
Copy link
Member

hailin0 commented Jan 5, 2025

cc @rewerma @dailai @hawk9821

}

@Override
public SchemaChangeEvent mapSchemaChangeEvent(SchemaChangeEvent event) {
Copy link
Member

Choose a reason for hiding this comment

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

Should be implemented separately by each transform logic

e.g: add column action

  1. sql transform ignore:
query = "select id, name from dual"
  1. sql transform accepted:
query = "select * from dual"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fields may also have type changes.


transform {
Sql {
query = "select * from dual"
Copy link
Contributor

@hawk9821 hawk9821 Jan 6, 2025

Choose a reason for hiding this comment

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

Is default enabled? Would it be better to add a switch , please refer to enable-schema-evolution #8285

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.

3 participants