mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
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>
This commit is contained in:
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…
x
Reference in New Issue
Block a user