(a *v1.KeyValue, p *Attribute)
| 370 | } |
| 371 | |
| 372 | func attrToParquetTypeUnsupported(a *v1.KeyValue, p *Attribute) { |
| 373 | jsonBytes := &bytes.Buffer{} |
| 374 | _ = jsonMarshaler.Marshal(jsonBytes, a.Value) // deliberately marshalling a.Value because of AnyValue logic |
| 375 | jsonStr := jsonBytes.String() |
| 376 | p.ValueUnsupported = &jsonStr |
| 377 | p.IsArray = false |
| 378 | } |
| 379 | |
| 380 | // traceToParquet converts a tempopb.Trace to this schema's object model. Returns the new object and |
| 381 | // a bool indicating if it's a connected trace or not |
no test coverage detected