beryllw commented on code in PR #3648:
URL: https://github.com/apache/flink-cdc/pull/3648#discussion_r1806196968
##########
flink-cdc-connect/flink-cdc-pipeline-connectors/flink-cdc-pipeline-connector-paimon/src/main/java/org/apache/flink/cdc/connectors/paimon/sink/v2/PaimonWriterHelper.java:
##########
@@ -111,15 +110,11 @@ private static RecordData.FieldGetter createFieldGetter(
case TIMESTAMP_WITH_TIME_ZONE:
fieldGetter =
row ->
- Timestamp.fromLocalDateTime(
- ZonedDateTime.ofInstant(
-
row.getLocalZonedTimestampData(
-
fieldPos,
-
DataTypeChecks.getPrecision(
-
fieldType))
- .toInstant(),
- zoneId)
- .toLocalDateTime());
+ Timestamp.fromInstant(
Review Comment:
Should we need to fix Kafka/StarRocks/Doris?
https://github.com/apache/flink-cdc/blob/dd69756d3fc1e3f5261b286added5397acbd88ad/flink-cdc-connect/flink-cdc-pipeline-connectors/flink-cdc-pipeline-connector-doris/src/main/java/org/apache/flink/cdc/connectors/doris/sink/DorisRowConverter.java#L107-L115
https://github.com/apache/flink-cdc/blob/dd69756d3fc1e3f5261b286added5397acbd88ad/flink-cdc-connect/flink-cdc-pipeline-connectors/flink-cdc-pipeline-connector-starrocks/src/main/java/org/apache/flink/cdc/connectors/starrocks/sink/StarRocksUtils.java#L186-L195
https://github.com/apache/flink-cdc/blob/dd69756d3fc1e3f5261b286added5397acbd88ad/flink-cdc-connect/flink-cdc-pipeline-connectors/flink-cdc-pipeline-connector-kafka/src/main/java/org/apache/flink/cdc/connectors/kafka/json/TableSchemaInfo.java#L163-L174
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]