JNSimba commented on code in PR #343: URL: https://github.com/apache/doris-flink-connector/pull/343#discussion_r1591080925
########## flink-doris-connector/src/main/java/org/apache/doris/flink/tools/cdc/mongodb/MongoDBDatabaseSync.java: ########## @@ -65,6 +66,11 @@ public class MongoDBDatabaseSync extends DatabaseSync { private static final String INITIAL_MODE = "initial"; private static final String LATEST_OFFSET_MODE = "latest-offset"; private static final String TIMESTAMP_MODE = "timestamp"; + public static final ConfigOption<String> MONGO_CDC_CREATE_SAMPLE_PERCENT = + ConfigOptions.key("mongo-cdc-schema-sample-percent") + .stringType() Review Comment: Why not use doubleType? -- 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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org