Skip to content

Commit

Permalink
[mongodb][hotfix] Fix SourceRecord range check (#2343)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuxiqian authored Jul 26, 2023
1 parent bca60a4 commit 0b9ca59
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public boolean isRecordBetween(SourceRecord record, Object[] splitStart, Object[
BsonDocument splitKeys = (BsonDocument) splitStart[0];
String firstKey = splitKeys.getFirstKey();
BsonValue keyValue = documentKey.get(firstKey);
BsonValue lowerBound = ((BsonDocument) splitEnd[1]).get(firstKey);
BsonValue lowerBound = ((BsonDocument) splitStart[1]).get(firstKey);
BsonValue upperBound = ((BsonDocument) splitEnd[1]).get(firstKey);

// for all range
Expand Down

0 comments on commit 0b9ca59

Please sign in to comment.