Skip to content

Commit fd7dfdf

Browse files
authored
Do not try to call IsComplete() on Arguments (#8901)
1 parent c15cb5e commit fd7dfdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ydb/library/yql/core/common_opt/yql_co_flow2.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1060,7 +1060,7 @@ TNodeMap<ESubgraphType> MarkSubgraphForAggregate(const TExprNode::TPtr& root, co
10601060
TNodeMap<ESubgraphType> result;
10611061
size_t insideDependsOn = 0;
10621062
VisitExpr(root, [&](const TExprNode::TPtr& node) {
1063-
if (node->IsComplete()) {
1063+
if (node->IsArguments() || node->IsComplete()) {
10641064
result[node.Get()] = EXPR_CONST;
10651065
return false;
10661066
}

0 commit comments

Comments
 (0)