refactor: simplify batch processing by removing partition dependency and introducing batch accumulator
This commit is contained in:
@@ -8,12 +8,16 @@ import (
|
||||
|
||||
type UnknownRowValues = []any
|
||||
|
||||
type BatchRef struct {
|
||||
Id uuid.UUID
|
||||
PartitionId uuid.UUID
|
||||
}
|
||||
|
||||
type Batch struct {
|
||||
Id uuid.UUID
|
||||
PartitionId uuid.UUID
|
||||
ParentBatchesId []uuid.UUID
|
||||
Rows []UnknownRowValues
|
||||
RetryCounter int
|
||||
Id uuid.UUID
|
||||
ParentBatches []BatchRef
|
||||
Rows []UnknownRowValues
|
||||
RetryCounter int
|
||||
}
|
||||
|
||||
type PartitionRange struct {
|
||||
|
||||
Reference in New Issue
Block a user