mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
Fix 6249, use more clear error message (#6316)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
This commit is contained in:
parent
97b1426666
commit
166548447b
@ -1292,7 +1292,8 @@ func (st *SearchTask) PreExecute(ctx context.Context) error {
|
||||
|
||||
plan, err := CreateQueryPlan(schema, st.query.Dsl, annsField, queryInfo)
|
||||
if err != nil {
|
||||
return errors.New("invalid expression: " + st.query.Dsl)
|
||||
//return errors.New("invalid expression: " + st.query.Dsl)
|
||||
return err
|
||||
}
|
||||
for _, name := range st.query.OutputFields {
|
||||
for _, field := range schema.Fields {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user