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

[FLINK-36784][common] Support to add metadata columns for data in the meta fields of DataChangeEvent at transform #3758

Merged
merged 13 commits into from
Dec 20, 2024

Conversation

ruanhang1993
Copy link
Contributor

This PR supports to add metadata in the meta field of DataChangeEvent at transform.

Copy link
Contributor

@lvyanquan lvyanquan left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Contributor

@yuxiqian yuxiqian left a comment

Choose a reason for hiding this comment

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

Thanks for @ruanhang1993's nice work, looks nice overall. Just left some optional comments that should not block this PR.

Comment on lines 79 to 84
tableInfo,
transformFilter,
timezone,
udfDescriptors,
udfFunctionInstances,
supportedMetadataColumns);
Copy link
Contributor

Choose a reason for hiding this comment

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

Feels like we need something like TransformContext to gather all these things together instead of extending arguments lists forever, but it's not a must in this PR.

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 for this suggestion. Let open a new issue for this optimization.

Copy link
Contributor

@lvyanquan lvyanquan left a comment

Choose a reason for hiding this comment

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

LGTM.

Updating docs for the newly added option is also welcomed.

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.

LGTM

@ruanhang1993 ruanhang1993 merged commit a0ae332 into apache:master Dec 20, 2024
25 checks passed
ChaomingZhangCN pushed a commit to ChaomingZhangCN/flink-cdc that referenced this pull request Jan 13, 2025
… meta fields of DataChangeEvent at transform (apache#3758)


Co-authored-by: Kunni <[email protected]>
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.

4 participants