From 421a866dc738a21c6535aed346b0ee8c45d4a18a Mon Sep 17 00:00:00 2001 From: liipx Date: Thu, 6 Dec 2018 16:02:53 +0800 Subject: [PATCH] update ARG.003 rule content --- advisor/heuristic.go | 2 +- common/testdata/TestPrintConfiguration.golden | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/advisor/heuristic.go b/advisor/heuristic.go index 23a1b98..a6e0fd3 100644 --- a/advisor/heuristic.go +++ b/advisor/heuristic.go @@ -328,7 +328,7 @@ func (idxAdv *IndexAdvisor) RuleImplicitConversion() Rule { continue } - c := fmt.Sprintf("%s.%s definition is %s not %s", + c := fmt.Sprintf("%s表中列%s的定义是 %s 而不是 %s", colList[0].Table, colList[0].Name, colList[0].DataType, typNameMap[val.Type]) common.Log.Debug("Implicit data type conversion: %s", c) diff --git a/common/testdata/TestPrintConfiguration.golden b/common/testdata/TestPrintConfiguration.golden index 6b7bf9e..759c353 100644 --- a/common/testdata/TestPrintConfiguration.golden +++ b/common/testdata/TestPrintConfiguration.golden @@ -48,6 +48,7 @@ max-join-table-count: 5 max-group-by-cols-count: 5 max-distinct-count: 5 max-index-cols-count: 5 +max-text-cols-count: 2 max-total-rows: 9999999 max-query-cost: 9999 spaghetti-query-length: 2048 -- GitLab