diff options
| author | vvvv <[email protected]> | 2025-10-09 12:25:18 +0300 |
|---|---|---|
| committer | vvvv <[email protected]> | 2025-10-09 12:57:17 +0300 |
| commit | cb77d014972b2cdb27d2e6d979fc3a2772b27ad4 (patch) | |
| tree | 7f3bcd8ce71c6bd0f3ccc11e31b9f665475b819e /yql/essentials/minikql/mkql_node_visitor.cpp | |
| parent | d58a8990d353b051c27e1069141117fdfde64358 (diff) | |
YQL-20086 minikql
commit_hash:e96f7390db5fcbe7e9f64f898141a263ad522daa
Diffstat (limited to 'yql/essentials/minikql/mkql_node_visitor.cpp')
| -rw-r--r-- | yql/essentials/minikql/mkql_node_visitor.cpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/yql/essentials/minikql/mkql_node_visitor.cpp b/yql/essentials/minikql/mkql_node_visitor.cpp index 840dbc43b38..212a9136483 100644 --- a/yql/essentials/minikql/mkql_node_visitor.cpp +++ b/yql/essentials/minikql/mkql_node_visitor.cpp @@ -474,8 +474,9 @@ void TExploringNodeVisitor::Visit(TCallable& node) { AddChildNode(&node, *node.GetInput(i).GetNode()); } - if (node.HasResult()) + if (node.HasResult()) { AddChildNode(&node, *node.GetResult().GetNode()); + } } void TExploringNodeVisitor::Visit(TAny& node) { @@ -543,7 +544,7 @@ void TExploringNodeVisitor::Clear() { } void TExploringNodeVisitor::Walk(TNode* root, std::vector<TNode*>& nodeStack, const std::vector<TNode*>& terminalNodes, - bool buildConsumersMap, size_t nodesCountHint) + bool buildConsumersMap, size_t nodesCountHint) { BuildConsumersMap_ = buildConsumersMap; @@ -603,7 +604,7 @@ const TExploringNodeVisitor::TNodesVec& TExploringNodeVisitor::GetConsumerNodes( template <bool InPlace> TRuntimeNode SinglePassVisitCallablesImpl(TRuntimeNode root, TExploringNodeVisitor& explorer, - const TCallableVisitFuncProvider& funcProvider, const TTypeEnvironment& env, bool& wereChanges) + const TCallableVisitFuncProvider& funcProvider, const TTypeEnvironment& env, bool& wereChanges) { auto& nodes = explorer.GetNodes(); @@ -666,7 +667,7 @@ TRuntimeNode SinglePassVisitCallablesImpl(TRuntimeNode root, TExploringNodeVisit } TRuntimeNode SinglePassVisitCallables(TRuntimeNode root, TExploringNodeVisitor& explorer, - const TCallableVisitFuncProvider& funcProvider, const TTypeEnvironment& env, bool inPlace, bool& wereChanges) { + const TCallableVisitFuncProvider& funcProvider, const TTypeEnvironment& env, bool inPlace, bool& wereChanges) { if (inPlace) { return SinglePassVisitCallablesImpl<true>(root, explorer, funcProvider, env, wereChanges); } else { @@ -674,5 +675,5 @@ TRuntimeNode SinglePassVisitCallables(TRuntimeNode root, TExploringNodeVisitor& } } -} -} +} // namespace NMiniKQL +} // namespace NKikimr |
