1
0
Fork 0

Allow 0 parents for remote single nodes

This commit is contained in:
Tobias Gödderz 2019-11-27 11:40:09 +01:00
parent cf2672cb9c
commit 8b04400143
1 changed files with 1 additions and 0 deletions

View File

@ -96,6 +96,7 @@ class CheckPlan : public WalkerWorker<ExecutionNode> {
case ExecutionNode::UPSERT:
case ExecutionNode::REMOVE:
case ExecutionNode::GATHER:
case ExecutionNode::REMOTESINGLE:
if (node->getParents().size() > 1) {
errors.emplace_back() << "#parents == " << node->getParents().size() << " at [" << node->id() << "] " << node->getTypeString();
ok = false;