refactor: optimize row handling in mssql extractor and transformer

This commit is contained in:
2026-04-17 01:10:45 -05:00
parent 46597c4ffd
commit ec96532d04
3 changed files with 8 additions and 11 deletions

View File

@@ -68,7 +68,7 @@ func Consume(
wgActivePartitions.Done()
if rowsReadResult > 0 {
atomic.AddInt64(rowsRead, int64(rowsReadResult))
atomic.AddInt64(rowsRead, rowsReadResult)
}
if err != nil {
@@ -86,8 +86,6 @@ func Consume(
case chErrorsOut <- custom_errors.JobError{ShouldCancelJob: false, Msg: err.Error(), Prev: err}:
}
}
continue
}
}
}