Skip to content
This repository was archived by the owner on Jan 29, 2022. It is now read-only.

Commit acc6270

Browse files
author
Luke Lovett
committed
Set split key min and max on MongoInputSplits created with createSplitFromBounds.
This reverts some of the changes made by a2f662f.
1 parent 977c9a0 commit acc6270

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

core/src/main/java/com/mongodb/hadoop/splitter/MongoCollectionSplitter.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,8 @@ public MongoInputSplit createSplitFromBounds(final BasicDBObject lowerBound, fin
222222
}
223223
if (split == null) {
224224
split = new MongoInputSplit(getConfiguration());
225+
split.setMin(splitMin);
226+
split.setMax(splitMax);
225227
}
226228
return split;
227229
}

0 commit comments

Comments
 (0)