From 3f58c6480636de4d49800d8aaa3e655636182150 Mon Sep 17 00:00:00 2001 From: "kyle.cao" Date: Tue, 20 Sep 2022 17:45:29 +0800 Subject: [PATCH] small fix --- src/graph/validator/LookupValidator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/graph/validator/LookupValidator.cpp b/src/graph/validator/LookupValidator.cpp index 75ca1a8915e..a3a9500cb97 100644 --- a/src/graph/validator/LookupValidator.cpp +++ b/src/graph/validator/LookupValidator.cpp @@ -442,7 +442,7 @@ StatusOr LookupValidator::checkConstExpr(Expression* expr, if (type == nebula::cpp2::PropertyType::UNKNOWN) { return Status::SemanticError("Invalid column: %s", prop.c_str()); } - auto v = Expression::eval(expr, QueryExpressionContext(qctx_->ectx())); + auto v = Expression::eval(expr, QueryExpressionContext(qctx_->ectx())()); // TODO(Aiee) extract the type cast logic as a method if we decide to support // more cross-type comparisons.