aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvvvv <vvvv@ydb.tech>2023-08-09 13:05:21 +0300
committervvvv <vvvv@ydb.tech>2023-08-09 16:15:31 +0300
commit4700a34cf159bab16151bc9ae30c259884bbf6a3 (patch)
tree4b4a23c060df1f897c8e8f4c7a1768f43dc757db
parent2e254e7a632e033b874bc58e595884df2b87f8ef (diff)
downloadydb-4700a34cf159bab16151bc9ae30c259884bbf6a3.tar.gz
Fix depends for pg aggregations
-rw-r--r--ydb/library/yql/core/yql_expr_type_annotation.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/ydb/library/yql/core/yql_expr_type_annotation.cpp b/ydb/library/yql/core/yql_expr_type_annotation.cpp
index 4ea50581b2..c3c7efd75e 100644
--- a/ydb/library/yql/core/yql_expr_type_annotation.cpp
+++ b/ydb/library/yql/core/yql_expr_type_annotation.cpp
@@ -5951,6 +5951,9 @@ TExprNode::TPtr ExpandPgAggregationTraits(TPositionHandle pos, const NPg::TAggre
.Callable(3, "PgClone")
.Add(0, initValue)
.Callable(1, "DependsOn")
+ .Arg(0, "row")
+ .Seal()
+ .Callable(2, "DependsOn")
.Arg(0, "parent")
.Seal()
.Seal()
@@ -5977,6 +5980,9 @@ TExprNode::TPtr ExpandPgAggregationTraits(TPositionHandle pos, const NPg::TAggre
.Callable(1, "PgClone")
.Add(0, initValue)
.Callable(1, "DependsOn")
+ .Arg(0, "row")
+ .Seal()
+ .Callable(2, "DependsOn")
.Arg(0, "parent")
.Seal()
.Seal()