Add RollUpApply operator support to edge type index rewrite. (#1816)

This commit is contained in:
Aidar Samerkhanov 2024-03-15 11:39:37 +04:00 committed by GitHub
parent 8bc8e867e4
commit 0ed2d18754
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -465,6 +465,18 @@ class EdgeTypeIndexRewriter final : public HierarchicalLogicalOperatorVisitor {
return true;
}
bool PreVisit(RollUpApply &op) override {
prev_ops_.push_back(&op);
op.input()->Accept(*this);
RewriteBranch(&op.list_collection_branch_);
return false;
}
bool PostVisit(RollUpApply &) override {
prev_ops_.pop_back();
return true;
}
std::shared_ptr<LogicalOperator> new_root_;
private: