chengcongchina commented on code in PR #4312:
URL: https://github.com/apache/flink-cdc/pull/4312#discussion_r2928854194
##########
flink-cdc-connect/flink-cdc-pipeline-connectors/flink-cdc-pipeline-connector-doris/src/main/java/org/apache/flink/cdc/connectors/doris/sink/DorisRowConverter.java:
##########
@@ -117,7 +117,10 @@ static SerializationConverter
createExternalConverter(DataType type, ZoneId pipe
final int zonedP = ((ZonedTimestampType) type).getPrecision();
return (index, val) -> val.getTimestamp(index,
zonedP).toTimestamp();
case TIME_WITHOUT_TIME_ZONE:
- return (index, val) -> val.getTime(index).toLocalTime();
+ return (index, val) ->
+ val.getTime(index)
+ .toLocalTime()
+ .format(DorisEventSerializer.TIME_FORMATTER);
Review Comment:
No need to do that, just keep consistent with other parts of the code.
--
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]