dy102 commented on code in PR #9234:
URL: https://github.com/apache/seatunnel/pull/9234#discussion_r2062812103
##########
seatunnel-connectors-v2/connector-maxcompute/src/main/java/org/apache/seatunnel/connectors/seatunnel/maxcompute/util/MaxcomputeTypeMapper.java:
##########
@@ -272,6 +272,9 @@ private static Object resolveObject2Maxcompute(Object
field, TypeInfo typeInfo)
case CHAR:
return new Char((String) field);
case STRING:
+ if (field instanceof LocalDateTime) {
+ return field.toString().replace("T", " ");
Review Comment:
Hi, regarding the time format, should we preserve milliseconds (yyyy-MM-dd
HH:mm:ss.SSS), or just keep seconds (yyyy-MM-dd HH:mm:ss) as shown in the issue
example? I want to ensure that the output format matches your expectation.
Thanks!
--
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]