diff --git a/advisor/heuristic.go b/advisor/heuristic.go index 23a1b98a0a4762a295868de64ac29ab2e2fc0959..a6e0fd3b935b8016c9fec31ce7fb1a9cbec3ed53 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 6b7bf9e4faba18d95d28d4cc9489247c9c0dd3e1..759c35371bc26829f74f1f115d877594465ce5a1 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