Skip to content

Commit

Permalink
removes conversions
Browse files Browse the repository at this point in the history
  • Loading branch information
Amogh-Bharadwaj committed Sep 20, 2023
1 parent b3008e1 commit b231e2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flow/connectors/utils/partition/partition.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ func compareValues(prevEnd interface{}, start interface{}) int {
}
}
case uint32: //xmin
if prevEnd.(uint32) < uint32(v) {
if prevEnd.(uint32) < v {
return -1
} else if prevEnd.(uint32) > uint32(v) {
} else if prevEnd.(uint32) > v {
return 1
} else {
return 0
Expand Down

0 comments on commit b231e2c

Please sign in to comment.