mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-01 11:29:48 +08:00
Fix panic when expr invalid (#19642)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com> Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
This commit is contained in:
parent
6826964e60
commit
246693acb7
@ -858,7 +858,7 @@ func (pc *parserContext) handleExpr(nodeRaw *ant_ast.Node) (*planpb.Expr, error)
|
||||
case *ant_ast.BinaryNode:
|
||||
return pc.handleBinaryExpr(node)
|
||||
default:
|
||||
return nil, fmt.Errorf("unsupported node (%s)", node.Type().String())
|
||||
return nil, fmt.Errorf("unsupported node")
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user