This commit is contained in:
Aliaksandr Valialkin 2024-04-27 03:31:19 +02:00
parent 16a91539bd
commit 75bbe51a05
No known key found for this signature in database
GPG key ID: 52C003EE2BCDB9EB

View file

@ -368,6 +368,12 @@ func (spp *statsPipeProcessor) flush() {
// Write per-group states to ppBase
byFields := spp.sp.byFields
if len(byFields) == 0 && len(m) == 0 {
// Special case - zero matching rows.
_ = shards[0].getStatsPipeGroup(nil)
m = shards[0].m
}
var values []string
var columns []BlockColumn
for key, spg := range m {