Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
czpmango committed Sep 20, 2022
1 parent 0f5d5f0 commit 3f58c64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/graph/validator/LookupValidator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ StatusOr<Expression*> 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.

Expand Down

0 comments on commit 3f58c64

Please sign in to comment.