refactor: update partition handling to use Range struct for better clarity and consistency
This commit is contained in:
@@ -23,9 +23,9 @@ func PartitionRangeGenerator(
|
||||
|
||||
if rowsCount <= rowsPerPartition {
|
||||
return []models.Partition{{
|
||||
Id: uuid.New(),
|
||||
ShouldUseRange: false,
|
||||
RetryCounter: 0,
|
||||
Id: uuid.New(),
|
||||
HasRange: false,
|
||||
RetryCounter: 0,
|
||||
}}, nil
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user