Skip to content

Commit

Permalink
fix checks
Browse files Browse the repository at this point in the history
  • Loading branch information
iskakaushik committed Oct 25, 2023
1 parent da16389 commit 92a496e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion flow/connectors/postgres/qrep.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ func (c *PostgresConnector) getNumRowsPartitions(
// if there is no last partition, we will return a partition with the min and max values
// if there is a last partition, we will return a partition with the last partition's end value + 1 and the max value
if last != nil && last.Range != nil {
minVal = minValInt + 1
maxValInt += 1
minVal = minValInt
}

if minValInt > maxValInt {
Expand Down

0 comments on commit 92a496e

Please sign in to comment.