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-36174][hotfix] CDC yaml without pipeline should not throw exception. #3588

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

loserwang1024
Copy link
Contributor

CDC yaml without pipeline should not throw exception.

@github-actions github-actions bot added the cli label Aug 29, 2024
@loserwang1024
Copy link
Contributor Author

@yuxiqian , CC

Copy link
Contributor

Choose a reason for hiding this comment

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

Should private final PipelineDef minimizedDef field be updated to reflect this change?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Test YamlPipelineDefinitionParserTest.YamlPipelineDefinitionParserTest will do it.

Comment on lines +430 to +432
Configuration.fromMap(
Collections.singletonMap(
"local-time-zone", ZoneId.systemDefault().toString())));
Copy link
Contributor

@yuxiqian yuxiqian Aug 31, 2024

Choose a reason for hiding this comment

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

Seems it's not necessary to pass local-time-zone explicitly since it will be added when constructing PipelineDef anyway

Copy link
Contributor

@ruanhang1993 ruanhang1993 left a comment

Choose a reason for hiding this comment

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

LGTM.

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