dybyte commented on code in PR #9234:
URL: https://github.com/apache/seatunnel/pull/9234#discussion_r2094522243
##########
seatunnel-connectors-v2/connector-maxcompute/src/main/java/org/apache/seatunnel/connectors/seatunnel/maxcompute/sink/MaxcomputeWriter.java:
##########
@@ -66,6 +69,9 @@ public MaxcomputeWriter(ReadonlyConfig readonlyConfig,
SeaTunnelRowType rowType)
readonlyConfig.get(MaxcomputeSinkOptions.PROJECT),
readonlyConfig.get(MaxcomputeSinkOptions.TABLE_NAME));
}
+ this.formatterContext =
+ new FormatterContext(
+
readonlyConfig.get(ConnectorCommonOptions.DATETIME_FORMAT));
Review Comment:
I’ve applied your suggestion: now using DateTimeUtils.parse() for user input
and added a String-typed option in FormatOptions to support flexible formats.
Let me know if any further changes are needed!
--
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]