Skip to content

Commit

Permalink
Adding JSON encoding to BigQuery Partitions. (#164)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tang8330 authored Jul 29, 2023
1 parent dc05e04 commit d76320e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/kafkalib/partition/settings.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ var ValidPartitionBy = []string{
}

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

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

0 comments on commit d76320e

Please sign in to comment.