Skip to content

Commit

Permalink
Do not try to call IsComplete() on Arguments (#8901)
Browse files Browse the repository at this point in the history
  • Loading branch information
nepal authored Sep 7, 2024
1 parent c15cb5e commit fd7dfdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ydb/library/yql/core/common_opt/yql_co_flow2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1060,7 +1060,7 @@ TNodeMap<ESubgraphType> MarkSubgraphForAggregate(const TExprNode::TPtr& root, co
TNodeMap<ESubgraphType> result;
size_t insideDependsOn = 0;
VisitExpr(root, [&](const TExprNode::TPtr& node) {
if (node->IsComplete()) {
if (node->IsArguments() || node->IsComplete()) {
result[node.Get()] = EXPR_CONST;
return false;
}
Expand Down

0 comments on commit fd7dfdf

Please sign in to comment.