MCPcopy
hub / github.com/grafana/tempo / attrToParquetTypeUnsupported

Function attrToParquetTypeUnsupported

tempodb/encoding/vparquet5/schema.go:372–378  ·  view source on GitHub ↗
(a *v1.KeyValue, p *Attribute)

Source from the content-addressed store, hash-verified

370}
371
372func 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

Callers 1

attrToParquetFunction · 0.70

Calls 2

MarshalMethod · 0.65
StringMethod · 0.45

Tested by

no test coverage detected