()
| 174 | } |
| 175 | |
| 176 | func (space Space) String() string { |
| 177 | columnName := "ColumnName={Type: " + string(space.ColumnName.Type) + ", Literal: " + space.ColumnName.Literal + "}" |
| 178 | if space.ContainsAggregateFunc() { |
| 179 | aggFunc := "AggregateFunc={Type: " + string(space.AggregateFunc.Type) + ", Literal: " + space.AggregateFunc.Literal + "}" |
| 180 | return columnName + ", " + aggFunc |
| 181 | } |
| 182 | return columnName |
| 183 | } |
| 184 | |
| 185 | // ContainsAggregateFunc - return true if space contains AggregateFunc that aggregate columnName or * |
| 186 | func (space Space) ContainsAggregateFunc() bool { |
no test coverage detected