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

Function hasAggregateFunctionNodes

src/Analyzer/AggregationUtils.cpp:92–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90}
91
92bool hasAggregateFunctionNodes(const QueryTreeNodePtr & node)
93{
94 CollectAggregateFunctionNodesVisitor visitor(true /*only_check*/);
95 visitor.visit(node);
96
97 return visitor.hasAggregateFunctions();
98}
99
100void assertNoAggregateFunctionNodes(const QueryTreeNodePtr & node, const String & assert_no_aggregates_place_message)
101{

Callers 6

buildPlanForQueryNodeMethod · 0.85
runMethod · 0.85
resolveFunctionMethod · 0.85
expandLimitByAllMethod · 0.85

Calls 2

hasAggregateFunctionsMethod · 0.80
visitMethod · 0.45

Tested by

no test coverage detected