Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
a13519 committed Aug 25, 2024
1 parent b90dbd1 commit 5404008
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,9 @@ public SingleKeyCompressedComparator compare() {
mml.add(key);
addMarker(mismatch);
comparatorListener.handleMisMatched(mismatch);
// remove from before and after
after.removeRowByMainKey(key);
before.removeRowByMainKey(key);
} else {
// this is still matched if no fields are mismatch
// this could be the trimming or the strictColumn indicator is false
Expand All @@ -141,9 +144,6 @@ public SingleKeyCompressedComparator compare() {
// after.removeRowByMainKey(key);
// before.removeRowByMainKey(key);
}
// remove from before and after
after.removeRowByMainKey(key);
before.removeRowByMainKey(key);
} catch (DataFormatException e) {
throw new RuntimeException(e);
} catch (IOException e) {
Expand Down

0 comments on commit 5404008

Please sign in to comment.