()
| 1224 | } |
| 1225 | |
| 1226 | func newSpanCollector2() *spanCollector2 { |
| 1227 | c := &spanCollector2{} |
| 1228 | |
| 1229 | // We always return this result with the same span. |
| 1230 | c.atRes.AppendOtherValue(otherEntrySpanKey, &c.at) |
| 1231 | |
| 1232 | // We always return this spanset with the 1 span. |
| 1233 | c.spansetBuffer = &traceql.Spanset{ |
| 1234 | Spans: make([]traceql.Span, 1), |
| 1235 | } |
| 1236 | c.spansetBuffer.Spans[0] = &c.at |
| 1237 | |
| 1238 | return c |
| 1239 | } |
| 1240 | |
| 1241 | func (c *spanCollector2) Reset(rowNumber parquetquery.RowNumber) { |
| 1242 | switch { |
no test coverage detected