Copilot commented on code in PR #9186:
URL: https://github.com/apache/seatunnel/pull/9186#discussion_r2046192351
##########
seatunnel-formats/seatunnel-format-json/src/main/java/org/apache/seatunnel/format/json/JsonSerializationSchema.java:
##########
@@ -49,6 +50,10 @@ public class JsonSerializationSchema implements
SerializationSchema {
private final RowToJsonConverters.RowToJsonConverter runtimeConverter;
+ {
+ mapper.configure(JsonGenerator.Feature.WRITE_BIGDECIMAL_AS_PLAIN,
true);
Review Comment:
[nitpick] Consider moving the mapper configuration from the instance
initializer block into the constructor to ensure the initialization order is
explicit.
--
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]