statistics: merge global stats even if some partition stats are missing #41176
65.8823% of diff hit (target 0.0000%)
View this Pull Request on Codecov
65.8823% of diff hit (target 0.0000%)
Annotations
Check warning on line 95 in executor/analyze_global_stats.go
codecov / codecov/patch
executor/analyze_global_stats.go#L94-L95
Added lines #L94 - L95 were not covered by tests
Check warning on line 169 in statistics/handle/ddl.go
codecov / codecov/patch
statistics/handle/ddl.go#L167-L169
Added lines #L167 - L169 were not covered by tests
Check warning on line 174 in statistics/handle/ddl.go
codecov / codecov/patch
statistics/handle/ddl.go#L173-L174
Added lines #L173 - L174 were not covered by tests
Check warning on line 208 in statistics/handle/ddl.go
codecov / codecov/patch
statistics/handle/ddl.go#L205-L208
Added lines #L205 - L208 were not covered by tests
Check warning on line 213 in statistics/handle/ddl.go
codecov / codecov/patch
statistics/handle/ddl.go#L211-L213
Added lines #L211 - L213 were not covered by tests
Check warning on line 761 in statistics/handle/handle.go
codecov / codecov/patch
statistics/handle/handle.go#L758-L761
Added lines #L758 - L761 were not covered by tests
Check warning on line 783 in statistics/handle/handle.go
codecov / codecov/patch
statistics/handle/handle.go#L782-L783
Added lines #L782 - L783 were not covered by tests
Check warning on line 845 in statistics/handle/handle.go
codecov / codecov/patch
statistics/handle/handle.go#L843-L845
Added lines #L843 - L845 were not covered by tests