mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-02 11:59:00 +08:00
Cherry-pick from master pr: #35948 Related to #35415 Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
This commit is contained in:
parent
ffa7755136
commit
abf3f68ae9
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user