Skip to content

Commit 833be5e

Browse files
authored
Merge pull request #17 from data-integrations/PLUGIN-1286_bug
[PLUGIN-1286] Adding support to read large data
2 parents 99ed7dd + 19f4708 commit 833be5e

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)