From 1ad688bc4ae5c76633392585c3cd33c080153673 Mon Sep 17 00:00:00 2001 From: Aiee <18348405+Aiee@users.noreply.github.com> Date: Tue, 6 Dec 2022 19:23:09 +0800 Subject: [PATCH] Fix argument --- src/graph/executor/logic/ArgumentExecutor.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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());