Skip to content

Commit

Permalink
upd doc
Browse files Browse the repository at this point in the history
Signed-off-by: jayzhan211 <[email protected]>
  • Loading branch information
jayzhan211 committed Oct 28, 2024
1 parent 010f869 commit 3605f85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datafusion/physical-plan/src/sorts/merge.rs
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ impl<C: CursorValues> SortPreservingMergeStream<C> {
if self.is_poll_count_gt(*winner, challenger) {
self.update_winner(cmp_node, winner, challenger);
}
} else if challenger < *winner {
} else if challenger < *winner { // Value and polls count are all the same, we choose the smaller index
// The winner loses, assign the new winner
self.update_winner(cmp_node, winner, challenger);
}
Expand Down

0 comments on commit 3605f85

Please sign in to comment.