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

Method resolveAsWindowFunction

src/Analyzer/FunctionNode.cpp:114–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112}
113
114void FunctionNode::resolveAsWindowFunction(AggregateFunctionPtr window_function_value)
115{
116 if (!hasWindow())
117 throw Exception(ErrorCodes::LOGICAL_ERROR,
118 "Trying to resolve FunctionNode without window definition as a window function {}", window_function_value->getName());
119 resolveAsAggregateFunction(window_function_value);
120 kind = FunctionKind::WINDOW;
121}
122
123void FunctionNode::dumpTreeImpl(WriteBuffer & buffer, FormatState & format_state, size_t indent) const
124{

Callers 2

rerunFunctionResolveFunction · 0.80
resolveFunctionMethod · 0.80

Calls 2

ExceptionClass · 0.50
getNameMethod · 0.45

Tested by

no test coverage detected