refactor: rename Batch to Partition and update related types and channels for consistency

This commit is contained in:
2026-04-11 00:09:28 -05:00
parent cd0e53b1d2
commit 9eb9821daf
11 changed files with 69 additions and 48 deletions

View File

@@ -23,14 +23,17 @@ type JobConfig struct {
Retry RetryConfig `yaml:"retry"`
}
type TargetTableInfo struct {
type TableInfo struct {
Schema string `yaml:"schema"`
Table string `yaml:"table"`
}
type TargetTableInfo struct {
TableInfo `yaml:",inline"`
}
type SourceTableInfo struct {
Schema string `yaml:"schema"`
Table string `yaml:"table"`
TableInfo `yaml:",inline"`
PrimaryKey string `yaml:"primary_key"`
}