herunkang2018 commented on code in PR #3648:
URL: https://github.com/apache/flink-cdc/pull/3648#discussion_r1807554895


##########
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:
   Good catch, I think we should fix this issue in other connectors.



-- 
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]

Reply via email to