You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "gaopeng666 (via GitHub)" <gi...@apache.org> on 2023/07/03 08:28:47 UTC
[GitHub] [seatunnel] gaopeng666 commented on a diff in pull request #4994: [Feature][Connector-V2][Clickhouse] Add clickhouse connector timezone key,default UTC
gaopeng666 commented on code in PR #4994:
URL: https://github.com/apache/seatunnel/pull/4994#discussion_r1250477443
##########
seatunnel-connectors-v2/connector-clickhouse/src/main/java/org/apache/seatunnel/connectors/seatunnel/clickhouse/config/ClickhouseConfig.java:
##########
@@ -75,6 +75,13 @@ public class ClickhouseConfig {
.noDefaultValue()
.withDescription("Clickhouse server password");
+ /** Clickhouse server timezone */
+ public static final Option<String> SERVER_TIME_ZONE =
+ Options.key("server_time_zone")
+ .stringType()
+ .defaultValue("UTC")
Review Comment:
need the system time zone or the JVM time zone? Why is the UTC time zone used by default through JDBC connection or MySQL cdc?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org