(statement string, limit int)
| 103 | } |
| 104 | |
| 105 | func getStatementWithResultLimit(statement string, limit int) string { |
| 106 | return fmt.Sprintf("WITH result AS (%s) SELECT * FROM result LIMIT %d;", util.TrimStatement(statement), limit) |
| 107 | } |
| 108 | |
| 109 | // translateAggregateFunctionError rewrites the clickhouse-go driver's opaque |
| 110 | // "unsupported column type \"AggregateFunction(...)\"" error into actionable |
no test coverage detected