Skip to content

Commit

Permalink
wipe nested set model fields (#2729) (#2736)
Browse files Browse the repository at this point in the history
Signed-off-by: Joe Elliott <[email protected]>
(cherry picked from commit cfb6e54)
  • Loading branch information
joe-elliott authored Jul 31, 2023
1 parent a032528 commit cce8df1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tempodb/encoding/vparquet2/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,12 @@ func traceToParquet(id common.ID, tr *tempopb.Trace, ot *Trace) *Trace {
eventToParquet(e, &ss.Events[ie])
}

// nested set values do not come from the proto, they are calculated
// later. set all to 0
ss.NestedSetLeft = 0
ss.NestedSetRight = 0
ss.ParentID = 0

ss.SpanID = s.SpanId
ss.ParentSpanID = s.ParentSpanId
ss.Name = s.Name
Expand Down

0 comments on commit cce8df1

Please sign in to comment.