From d0667b58d7101887d37679ecb04effed65e314ce Mon Sep 17 00:00:00 2001 From: Xiaofan <83447078+xiaofan-luan@users.noreply.github.com> Date: Wed, 15 Sep 2021 10:01:30 +0800 Subject: [PATCH] Change Error Msg When dimension of vector field not exist (#7931) Signed-off-by: xiaofan-luan --- internal/proxy/task.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/proxy/task.go b/internal/proxy/task.go index 9ab4b5c24f..030708cd7c 100644 --- a/internal/proxy/task.go +++ b/internal/proxy/task.go @@ -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 {