(space ast.Space)
| 313 | } |
| 314 | |
| 315 | func evaluateColumnTypeOfAggregateFunc(space ast.Space) token.Token { |
| 316 | if space.AggregateFunc.Type == token.MIN || |
| 317 | space.AggregateFunc.Type == token.MAX { |
| 318 | return space.ColumnName |
| 319 | } |
| 320 | return token.Token{Type: token.INT, Literal: "INT"} |
| 321 | } |
| 322 | |
| 323 | func aggregateColumnContent(space ast.Space, columnValues []ValueInterface) (ValueInterface, error) { |
| 324 | if space.AggregateFunc.Type == token.COUNT { |
no outgoing calls
no test coverage detected