From 4abfb0acf05b4e9be7842daa687fe422b943a130 Mon Sep 17 00:00:00 2001 From: 3AceShowHand Date: Thu, 12 Oct 2023 14:35:01 +0800 Subject: [PATCH] update v2 model. --- cdc/api/v2/model.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cdc/api/v2/model.go b/cdc/api/v2/model.go index 41f1cdbf262..1e6b78d209a 100644 --- a/cdc/api/v2/model.go +++ b/cdc/api/v2/model.go @@ -911,10 +911,10 @@ type LargeMessageHandleConfig struct { // This is a duplicate of config.DispatchRule type DispatchRule struct { Matcher []string `json:"matcher,omitempty"` - PartitionRule string `json:"partition"` - IndexName string `json:"index"` - Columns []string `json:"columns"` - TopicRule string `json:"topic"` + PartitionRule string `json:"partition,omitempty"` + IndexName string `json:"index,omitempty"` + Columns []string `json:"columns,omitempty"` + TopicRule string `json:"topic,omitempty"` } // ColumnSelector represents a column selector for a table.