From 66ed289a85ab104da4ab1166dae58ec3a2018b3e Mon Sep 17 00:00:00 2001 From: congqixia Date: Thu, 5 Sep 2024 10:49:03 +0800 Subject: [PATCH] enhance: Fix typo of clustering key not loaded msg (#35948) Related to #35415 Signed-off-by: Congqi Xia --- internal/proxy/meta_cache.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/proxy/meta_cache.go b/internal/proxy/meta_cache.go index 3e8408a25f..9d13f60457 100644 --- a/internal/proxy/meta_cache.go +++ b/internal/proxy/meta_cache.go @@ -246,7 +246,7 @@ func (s *schemaInfo) validateLoadFields(names []string, fields []*schemapb.Field return merr.WrapErrParameterInvalidMsg("load field list %v does not contain partition key field %s", names, partitionKeyField.GetName()) } if clusteringKeyField != nil && !hasClusteringKey { - return merr.WrapErrParameterInvalidMsg("load field list %v does not contain clsutering key field %s", names, clusteringKeyField.GetName()) + return merr.WrapErrParameterInvalidMsg("load field list %v does not contain clustering key field %s", names, clusteringKeyField.GetName()) } return nil }