mirror of https://github.com/milvus-io/milvus.git
enhance: make the error of parsing expression to `ParameterInvalid` (#29681)
before this, the error is unexpected error Signed-off-by: yah01 <yang.cen@zilliz.com>pull/29797/head
parent
f18a7191f2
commit
f030f31d92
|
@ -342,7 +342,7 @@ func (t *searchTask) PreExecute(ctx context.Context) error {
|
|||
log.Warn("failed to create query plan", zap.Error(err),
|
||||
zap.String("dsl", t.request.Dsl), // may be very large if large term passed.
|
||||
zap.String("anns field", annsField), zap.Any("query info", queryInfo))
|
||||
return fmt.Errorf("failed to create query plan: %v", err)
|
||||
return merr.WrapErrParameterInvalidMsg("failed to create query plan: %v", err)
|
||||
}
|
||||
log.Debug("create query plan",
|
||||
zap.String("dsl", t.request.Dsl), // may be very large if large term passed.
|
||||
|
|
Loading…
Reference in New Issue