-
Notifications
You must be signed in to change notification settings - Fork 2k
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
[cdc-common] Introduce PIPELINE_LOCAL_TIME_ZONE which help handle time zone well #2797
[cdc-common] Introduce PIPELINE_LOCAL_TIME_ZONE which help handle time zone well #2797
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where is getLocalTimeZone
invoked?
When we deal TIMESTAMP_LTZ type in Sink |
@lvyanquan @PatrickRen @Jiabao-Sun Would you like to help review this PR? |
flink-cdc-composer/src/main/java/com/ververica/cdc/composer/flink/FlinkPipelineComposer.java
Outdated
Show resolved
Hide resolved
50a4c99
to
942a8dc
Compare
flink-cdc-composer/src/main/java/com/ververica/cdc/composer/flink/FlinkPipelineComposer.java
Outdated
Show resolved
Hide resolved
942a8dc
to
be2deae
Compare
Thanks @PatrickRen and @lvyanquan for the insight, I've simplify the PR, appreciate if you can take a look |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left one comment.
flink-cdc-composer/src/main/java/com/ververica/cdc/composer/flink/FlinkPipelineComposer.java
Show resolved
Hide resolved
context.getConfiguration().get(ValuesDataSinkOptions.PRINT_ENABLED)); | ||
context.getPipelineConfiguration() | ||
.get(ValuesDataSinkOptions.MATERIALIZED_IN_MEMORY), | ||
context.getPipelineConfiguration().get(ValuesDataSinkOptions.PRINT_ENABLED)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
context.getFactoryConfiguration().
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And please fix the code style check failure. Thanks.
adress comments
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
The failed tests is note related to this PR, merging... |
… help handle time zone well (apache#2797) This closes apache#2797.
[cdc-common] Introduce PIPELINE_LOCAL_TIME_ZONE which help handle time zone well