| 16 | } |
| 17 | |
| 18 | std::string WindowFunctionDescription::dump() const |
| 19 | { |
| 20 | WriteBufferFromOwnString ss; |
| 21 | |
| 22 | ss << "window function '" << column_name << "\n"; |
| 23 | if (function_node) |
| 24 | ss << "function node " << function_node->dumpTree() << "\n"; |
| 25 | ss << "aggregate function '" << aggregate_function->getName() << "'\n"; |
| 26 | if (!function_parameters.empty()) |
| 27 | { |
| 28 | ss << "parameters " << toString(function_parameters) << "\n"; |
| 29 | } |
| 30 | |
| 31 | return ss.str(); |
| 32 | } |
| 33 | |
| 34 | std::string WindowDescription::dump() const |
| 35 | { |