diff --git a/src/graph/executor/logic/ArgumentExecutor.cpp b/src/graph/executor/logic/ArgumentExecutor.cpp index 61b4c6b6cbd..eab46383f17 100644 --- a/src/graph/executor/logic/ArgumentExecutor.cpp +++ b/src/graph/executor/logic/ArgumentExecutor.cpp @@ -24,7 +24,9 @@ folly::Future ArgumentExecutor::execute() { std::unordered_set 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());