liugddx commented on code in PR #4972:
URL: https://github.com/apache/seatunnel/pull/4972#discussion_r1241134019


##########
seatunnel-connectors-v2/connector-mongodb/src/main/java/org/apache/seatunnel/connectors/seatunnel/mongodb/config/MongodbConfig.java:
##########
@@ -104,6 +104,12 @@ public class MongodbConfig {
                     .withDescription(
                             "By utilizing flatSyncString, only one field 
attribute value can be set, and the field type must be a String. This operation 
will perform a string mapping on a single MongoDB data entry.");
 
+    public static final Option<Boolean> ALLOW_NULL =
+            Options.key("allow-null")
+                    .booleanType()
+                    .defaultValue(false)
+                    .withDescription("allow null value when fields reading is 
null");
+
     // --------------------------------------------------------------------

Review Comment:
   Please describe this parameter in the documentation.
   
https://github.com/apache/seatunnel/blob/dev/docs/en/connector-v2/source/MongoDB.md
   



-- 
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]

Reply via email to