| 112 | } |
| 113 | |
| 114 | void 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 | |
| 123 | void FunctionNode::dumpTreeImpl(WriteBuffer & buffer, FormatState & format_state, size_t indent) const |
| 124 | { |
no test coverage detected