Skip to content

Commit

Permalink
Adding yaml annotations to partitionFields (#506)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tang8330 authored Apr 26, 2024
1 parent dd09dd1 commit 1652b90
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/kafkalib/partition/settings.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ var ValidPartitionBy = []string{
}

type MergePredicates struct {
PartitionField string
PartitionField string `yaml:"partitionField"`
}

type BigQuerySettings struct {
PartitionType string `yaml:"partitionType" json:"partitionType"`
PartitionField string `yaml:"partitionField" json:"partitionField"`
PartitionBy string `yaml:"partitionBy" json:"partitionBy"`
PartitionType string `yaml:"partitionType"`
PartitionField string `yaml:"partitionField"`
PartitionBy string `yaml:"partitionBy"`
}

// GenerateMergeString this is used as an equality string for the MERGE statement.
Expand Down

0 comments on commit 1652b90

Please sign in to comment.