From d76320e390a0f708209624c466e1cbb6d09e0d12 Mon Sep 17 00:00:00 2001 From: Robin Tang Date: Fri, 28 Jul 2023 20:30:29 -0700 Subject: [PATCH] Adding JSON encoding to BigQuery Partitions. (#164) --- lib/kafkalib/partition/settings.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/kafkalib/partition/settings.go b/lib/kafkalib/partition/settings.go index b14e2a5fc..14723bfc1 100644 --- a/lib/kafkalib/partition/settings.go +++ b/lib/kafkalib/partition/settings.go @@ -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.