aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/sql/v1/source.cpp
diff options
context:
space:
mode:
authorvokayndzop <vokayndzop@yandex-team.com>2025-01-29 16:25:37 +0300
committervokayndzop <vokayndzop@yandex-team.com>2025-01-29 17:18:25 +0300
commitbe07767ad39d693f1f8165c85adf05f925ff84bf (patch)
tree827003dadb10987e5aba89309eddb7902034ca31 /yql/essentials/sql/v1/source.cpp
parent6a31c2b82c0136d2a116b7be4e155d1898d4e7eb (diff)
downloadydb-be07767ad39d693f1f8165c85adf05f925ff84bf.tar.gz
MR: aggregation in MEASURES
commit_hash:5357736eed7a221ff5844d4351abe23e65930632
Diffstat (limited to 'yql/essentials/sql/v1/source.cpp')
-rw-r--r--yql/essentials/sql/v1/source.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/yql/essentials/sql/v1/source.cpp b/yql/essentials/sql/v1/source.cpp
index 4231a9d370..c2fb13b103 100644
--- a/yql/essentials/sql/v1/source.cpp
+++ b/yql/essentials/sql/v1/source.cpp
@@ -288,7 +288,7 @@ inline TNodePtr ISource::AliasOrColumn(const TNodePtr& node, bool withSource) {
bool ISource::AddAggregationOverWindow(TContext& ctx, const TString& windowName, TAggregationPtr func) {
if (ctx.DistinctOverWindow) {
- YQL_ENSURE(func->IsOverWindow() || func->IsOverWindowDistinct());
+ YQL_ENSURE(func->IsOverWindow() || func->IsOverWindowDistinct());
} else {
YQL_ENSURE(func->IsOverWindow());
if (func->IsDistinct()) {