Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
xtcyclist committed Dec 26, 2022
1 parent 6869e7a commit a544bef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/graph/executor/query/FilterExecutor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ Status FilterExecutor::handleSingleJobFilter() {
return Status::Error("Failed to evaluate condition: %s. %s%s",
condition->toString().c_str(),
"For boolean conditions, please write in their full forms like",
" <condition> == <true/false> or <condition> IS NULL.");
" <condition> == <true/false> or <condition> IS [NOT] NULL.");
}
if (val.empty() || val.isNull() || (val.isImplicitBool() && !val.implicitBool())) {
if (UNLIKELY(filter->needStableFilter())) {
Expand All @@ -128,7 +128,7 @@ Status FilterExecutor::handleSingleJobFilter() {
return Status::Error("Failed to evaluate condition: %s. %s%s",
condition->toString().c_str(),
"For boolean conditions, please write in their full forms like",
" <condition> == <true/false> or <condition> IS NULL.");
" <condition> == <true/false> or <condition> IS [NOT] NULL.");
}
if (val.isImplicitBool() && val.implicitBool()) {
Row row;
Expand Down

0 comments on commit a544bef

Please sign in to comment.