feat: enhance range handling in MSSQL and Postgres extractors; update partition range generator logic

This commit is contained in:
2026-04-21 11:32:52 -05:00
parent 9eb8800864
commit aa71eeb5c1
3 changed files with 69 additions and 38 deletions

View File

@@ -17,7 +17,7 @@ func PartitionRangeGenerator(
rowsPerPartition int64,
jobRange config.RangeConfig,
) ([]models.Partition, error) {
if jobRange.Max > 0 {
if jobRange.Min > 0 {
return []models.Partition{{
Id: uuid.New(),
HasRange: true,