Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ie-pham committed Jun 13, 2024
1 parent 2cb373d commit f60408d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions tempodb/encoding/vparquet4/block_traceql.go
Original file line number Diff line number Diff line change
Expand Up @@ -1629,7 +1629,7 @@ func createEventIterator(makeIter makeIterFn, primaryIter parquetquery.Iterator,
if len(eventIters) == 0 && len(required) == 0 {
return nil, nil
}

return parquetquery.NewLeftJoinIterator(DefinitionLevelResourceSpansILSSpanEvent, required, eventIters, eventCol, parquetquery.WithPool(pqEventPool))
}

Expand Down Expand Up @@ -2796,8 +2796,8 @@ func getEvent() *event {

// eventCollector receives rows from the event columns and joins them together into
// map[key]value entries with the right type.
type eventCollector struct{
minAttributes int
type eventCollector struct {
minAttributes int
}

var _ parquetquery.GroupPredicate = (*eventCollector)(nil)
Expand Down
16 changes: 8 additions & 8 deletions tempodb/encoding/vparquet4/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,14 @@ const (

// These definition levels match the schema below
const (
DefinitionLevelTrace = 0
DefinitionLevelServiceStats = 1
DefinitionLevelResourceSpans = 1
DefinitionLevelResourceAttrs = 2
DefinitionLevelResourceSpansILSSpan = 3
DefinitionLevelResourceSpansILSSpanAttrs = 4
DefinitionLevelResourceSpansILSSpanEvent = 4
DefinitionLevelResourceSpansILSSpanLink = 4
DefinitionLevelTrace = 0
DefinitionLevelServiceStats = 1
DefinitionLevelResourceSpans = 1
DefinitionLevelResourceAttrs = 2
DefinitionLevelResourceSpansILSSpan = 3
DefinitionLevelResourceSpansILSSpanAttrs = 4
DefinitionLevelResourceSpansILSSpanEvent = 4
DefinitionLevelResourceSpansILSSpanLink = 4
DefinitionLevelResourceSpansILSSpanEventAttrs = 5

FieldResourceAttrKey = "rs.list.element.Resource.Attrs.list.element.Key"
Expand Down

0 comments on commit f60408d

Please sign in to comment.