Skip to content

Commit 19f4708

Browse files
committed
PLUGIN-1286- Adding support to read large data
1 parent 99ed7dd commit 19f4708

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/io/cdap/plugin/batch/source/MongoDBBatchSource.java

+2
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,8 @@ public void prepareRun(BatchSourceContext context) throws Exception {
9999
MongoConfigUtil.setAuthURI(conf, config.authConnectionString);
100100
}
101101

102+
MongoConfigUtil.setRangeQueryEnabled(conf, true);
103+
102104
emitLineage(context);
103105
context.setInput(Input.of(config.getReferenceName(),
104106
new SourceInputFormatProvider(MongoConfigUtil.getInputFormat(conf), conf)));

0 commit comments

Comments
 (0)