afedulov commented on code in PR #20127:
URL: https://github.com/apache/flink/pull/20127#discussion_r915198709
##########
flink-formats/flink-csv/src/main/java/org/apache/flink/formats/csv/CsvFormatOptions.java:
##########
@@ -87,5 +87,11 @@ public class CsvFormatOptions {
"Optional null literal string that is interpreted
as a\n"
+ "null value (disabled by default)");
+ public static final ConfigOption<Boolean> WRITE_BIGDECIMAL_AS_PLAIN =
+ ConfigOptions.key("write-bigdecimal-as-plain")
+ .booleanType()
+ .defaultValue(true)
+ .withDescription("Optional whether write bigdecimal using
scientific notation");
Review Comment:
This needs a better comment since the relationship between the flag values
and the scientific notation is not immediately clear to the user of the API.
The comment has to explain what is the outcome if this flag is set to true.
--
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]