MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / hasWindowFunctionNodes

Function hasWindowFunctionNodes

src/Analyzer/WindowFunctionsUtils.cpp:85–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85bool hasWindowFunctionNodes(const QueryTreeNodePtr & node)
86{
87 CollectWindowFunctionNodeVisitor visitor(true /*only_check*/);
88 visitor.visit(node);
89
90 return visitor.hasWindowFunctions();
91}
92
93void collectWindowFunctionNodes(const QueryTreeNodePtr & node, QueryTreeNodes & result)
94{

Calls 2

hasWindowFunctionsMethod · 0.80
visitMethod · 0.45

Tested by

no test coverage detected