(a *v1.KeyValue, p *Attribute)
| 339 | } |
| 340 | |
| 341 | func attrToParquetTypeUnsupported(a *v1.KeyValue, p *Attribute) { |
| 342 | jsonBytes := &bytes.Buffer{} |
| 343 | _ = jsonMarshaler.Marshal(jsonBytes, a.Value) // deliberately marshalling a.Value because of AnyValue logic |
| 344 | jsonStr := jsonBytes.String() |
| 345 | p.ValueUnsupported = &jsonStr |
| 346 | p.IsArray = false |
| 347 | } |
| 348 | |
| 349 | // traceToParquet converts a tempopb.Trace to this schema's object model. Returns the new object and |
| 350 | // a bool indicating if it's a connected trace or not |
no test coverage detected