diff options
author | Alexander Smirnov <alex@ydb.tech> | 2025-04-05 00:51:48 +0000 |
---|---|---|
committer | Alexander Smirnov <alex@ydb.tech> | 2025-04-05 00:51:48 +0000 |
commit | d34888289f736d7643a7a33ec004d206c3a3779c (patch) | |
tree | 04b5f6884e3e3722955c2dbf050e4cc4511dedf3 /yql/essentials/core/yql_aggregate_expander.cpp | |
parent | 826d25293818e6931deb20b8763948059bd9b6fe (diff) | |
parent | f6a0289bf403b681ad1dae577b47b70575e6afe7 (diff) | |
download | ydb-d34888289f736d7643a7a33ec004d206c3a3779c.tar.gz |
Merge branch 'rightlib' into merge-libs-250405-0050
Diffstat (limited to 'yql/essentials/core/yql_aggregate_expander.cpp')
-rw-r--r-- | yql/essentials/core/yql_aggregate_expander.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/yql/essentials/core/yql_aggregate_expander.cpp b/yql/essentials/core/yql_aggregate_expander.cpp index 7f8b143a39..11df5c7f89 100644 --- a/yql/essentials/core/yql_aggregate_expander.cpp +++ b/yql/essentials/core/yql_aggregate_expander.cpp @@ -12,6 +12,12 @@ namespace NYql { TExprNode::TPtr TAggregateExpander::ExpandAggregate() { YQL_CLOG(DEBUG, Core) << "Expand " << Node->Content(); + if (Node->Head().GetTypeAnn()->HasErrors()) { + TErrorTypeVisitor errorVisitor(Ctx); + Node->Head().GetTypeAnn()->Accept(errorVisitor); + return nullptr; + } + auto result = ExpandAggregateWithFullOutput(); if (result) { auto outputColumns = GetSetting(*Node->Child(NNodes::TCoAggregate::idx_Settings), "output_columns"); |