mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
Change Error Msg When dimension of vector field not exist (#7931)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
This commit is contained in:
parent
1eccb1d2c4
commit
d0667b58d7
@ -1178,7 +1178,7 @@ func (cct *createCollectionTask) PreExecute(ctx context.Context) error {
|
||||
}
|
||||
}
|
||||
if !exist {
|
||||
return errors.New("dimension is not defined in field type params")
|
||||
return errors.New("dimension is not defined in field type params, check type param `dim` for vector field")
|
||||
}
|
||||
if field.DataType == schemapb.DataType_FloatVector {
|
||||
if err := ValidateDimension(dim, false); err != nil {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user