Skip to content

Commit

Permalink
Fix argument
Browse files Browse the repository at this point in the history
  • Loading branch information
Aiee committed Dec 6, 2022
1 parent 2bc6f83 commit 1ad688b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/graph/executor/logic/ArgumentExecutor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ folly::Future<Status> ArgumentExecutor::execute() {
std::unordered_set<Value> unique;
for (; iter->valid(); iter->next()) {
auto &val = iter->getColumn(alias);
if (!val.isVertex()) {
if (val.isNull()) {
continue;
} else if (!val.isVertex()) {
return Status::Error("Argument only support vertex, but got %s, which is type %s, ",
val.toString().c_str(),
val.typeName().c_str());
Expand Down

0 comments on commit 1ad688b

Please sign in to comment.