Skip to content

Commit

Permalink
fmt
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 3605f85 commit 18f86e8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion datafusion/physical-plan/src/sorts/merge.rs
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,8 @@ impl<C: CursorValues> SortPreservingMergeStream<C> {
if self.is_poll_count_gt(*winner, challenger) {
self.update_winner(cmp_node, winner, challenger);
}
} else if challenger < *winner { // Value and polls count are all the same, we choose the smaller index
} 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 18f86e8

Please sign in to comment.