aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraneporada <aneporada@yandex-team.ru>2022-04-07 01:15:09 +0300
committeraneporada <aneporada@yandex-team.ru>2022-04-07 01:15:09 +0300
commit7a3f7c2dc4ba5590a10edc61bc3f81108bb5792a (patch)
tree7cd434501789fdaed72416da96b52ac05954d875
parent6e730a9046cbf413467e3ad75b8e99829f66a2d1 (diff)
downloadydb-7a3f7c2dc4ba5590a10edc61bc3f81108bb5792a.tar.gz
[yql] Sligtly more consistent whitespace usage for yql_opt_window.cpp
Note: mandatory check (NEED_CHECK) was skipped ref:45fb68a00e0de17293c8ed71cfbd4631907875a3
-rw-r--r--ydb/library/yql/core/yql_opt_window.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/ydb/library/yql/core/yql_opt_window.cpp b/ydb/library/yql/core/yql_opt_window.cpp
index 0de14c967b..68d8055036 100644
--- a/ydb/library/yql/core/yql_opt_window.cpp
+++ b/ydb/library/yql/core/yql_opt_window.cpp
@@ -143,7 +143,6 @@ struct TRawTrait {
TWindowFrameSettings FrameSettings;
};
-
struct TCalcOverWindowTraits {
TMap<TStringBuf, TRawTrait> RawTraits;
ui64 MaxDataOutpace = 0;
@@ -152,7 +151,6 @@ struct TCalcOverWindowTraits {
const TTypeAnnotationNode* LagQueueItemType = nullptr;
};
-
TCalcOverWindowTraits ExtractCalcOverWindowTraits(const TExprNode::TPtr& frames, TExprContext& ctx) {
TCalcOverWindowTraits result;
@@ -446,8 +444,6 @@ TExprNode::TPtr BuildUpdateLambdaForChain1Map(TPositionHandle pos, const TExprNo
.Build();
}
-
-
class TChain1MapTraits : public TThrRefBase, public TNonCopyable {
public:
using TPtr = TIntrusivePtr<TChain1MapTraits>;
@@ -552,7 +548,6 @@ private:
const TExprNode::TPtr LeadLagLambda;
};
-
class TChain1MapTraitsRowNumber : public TChain1MapTraits {
public:
TChain1MapTraitsRowNumber(TStringBuf name, const TRawTrait& raw)
@@ -897,7 +892,6 @@ private:
const TExprNode::TPtr DefaultValue;
};
-
class TChain1MapTraitsCurrentOrLagging : public TChain1MapTraitsStateBase {
public:
TChain1MapTraitsCurrentOrLagging(TStringBuf name, const TRawTrait& raw, TMaybe<ui64> lagQueueIndex)
@@ -1032,7 +1026,6 @@ private:
const ui64 QueueEnd;
};
-
class TChain1MapTraitsFull : public TChain1MapTraitsStateBase {
public:
TChain1MapTraitsFull(TStringBuf name, const TRawTrait& raw, ui64 currentRowIndex)
@@ -1094,7 +1087,6 @@ private:
const ui64 QueueBegin;
};
-
class TChain1MapTraitsGeneric : public TChain1MapTraitsStateBase {
public:
TChain1MapTraitsGeneric(TStringBuf name, const TRawTrait& raw, ui64 queueBegin, ui64 queueEnd)
@@ -1512,7 +1504,6 @@ TExprNode::TPtr HandleLaggingItems(TPositionHandle pos, const TExprNode::TPtr& r
.Build();
}
-
TExprNode::TPtr BuildChain1MapInitLambda(TPositionHandle pos, const TVector<TChain1MapTraits::TPtr>& traits,
const TExprNode::TPtr& dataQueue, ui64 lagQueueSize, const TTypeAnnotationNode* lagQueueItemType, TExprContext& ctx)
{
@@ -1843,7 +1834,6 @@ TExprNode::TPtr BuildFold1Lambda(TPositionHandle pos, const TExprNode::TPtr& fra
return ctx.NewLambda(pos, ctx.NewArguments(pos, std::move(args)), ctx.NewCallable(pos, "AsStruct", std::move(structItems)));
}
-
TExprNode::TPtr ExpandNonCompactFullFrames(TPositionHandle pos, const TExprNode::TPtr& inputList,
const TExprNode::TPtr& originalKeyColumns, const TExprNode::TPtr& sortTraits, const TExprNode::TPtr& frames,
const TExprNode::TPtr& sessionTraits, const TExprNode::TPtr& sessionColumns, TExprContext& ctx)
@@ -2227,7 +2217,6 @@ TExprNode::TPtr ExpandNonCompactFullFrames(TPositionHandle pos, const TExprNode:
.Build();
}
-
TExprNode::TPtr TryExpandNonCompactFullFrames(TPositionHandle pos, const TExprNode::TPtr& inputList, const TExprNode::TPtr& keyColumns,
const TExprNode::TPtr& sortTraits, const TExprNode::TPtr& frames, const TExprNode::TPtr& sessionTraits,
const TExprNode::TPtr& sessionColumns, TExprContext& ctx)
@@ -2687,7 +2676,6 @@ TExprNode::TPtr ExpandCalcOverWindow(const TExprNode::TPtr& node, TExprContext&
return RebuildCalcOverWindowGroup(node->Pos(), input, calcs, ctx);
}
-
TExprNodeList ExtractCalcsOverWindow(const TExprNodePtr& node, TExprContext& ctx) {
TExprNodeList result;
if (auto maybeBase = TMaybeNode<TCoCalcOverWindowBase>(node)) {