refactor: rename batch-related variables and functions for consistency and clarity
This commit is contained in:
@@ -64,7 +64,7 @@ type Loader interface {
|
||||
ctx context.Context,
|
||||
tableInfo config.TargetTableInfo,
|
||||
colNames []string,
|
||||
Batch models.Batch,
|
||||
batch models.Batch,
|
||||
) (int, error)
|
||||
|
||||
Exec(
|
||||
@@ -79,7 +79,7 @@ type Loader interface {
|
||||
)
|
||||
}
|
||||
|
||||
type TableAnalizer interface {
|
||||
type TableAnalyzer interface {
|
||||
QueryColumnTypes(
|
||||
ctx context.Context,
|
||||
tableInfo config.TableInfo,
|
||||
@@ -93,6 +93,6 @@ type TableAnalizer interface {
|
||||
CalculatePartitionRanges(
|
||||
ctx context.Context,
|
||||
tableInfo config.TableInfo,
|
||||
totalPartitions int,
|
||||
) (models.Partition, error)
|
||||
maxPartitions int,
|
||||
) ([]models.Partition, error)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user