Skip to content

Commit

Permalink
fixing stats join tables
Browse files Browse the repository at this point in the history
  • Loading branch information
Diogo Behrens committed Dec 1, 2017
1 parent 584cf86 commit a2986e8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -738,6 +738,9 @@ func (g *Processor) Stats() *ProcessorStats {
stats.Group[i] = p.fetchStats()
}
for i, p := range g.partitionViews {
if _, ok := stats.Joined[i]; !ok {
stats.Joined[i] = make(map[string]*PartitionStats)
}
for t, tp := range p {
stats.Joined[i][t] = tp.fetchStats()
}
Expand Down

0 comments on commit a2986e8

Please sign in to comment.