From ff5cce48ca558fc9bdbce7f062716d529ff1b88f Mon Sep 17 00:00:00 2001 From: ms-hujia <48512395+ms-hujia@users.noreply.github.com> Date: Wed, 17 Jun 2026 19:31:35 +0800 Subject: [PATCH] Support zero int64 value in Label when decoding --- profile/encode.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profile/encode.go b/profile/encode.go index 8ce9d3cf3b..a0a8baa5dc 100644 --- a/profile/encode.go +++ b/profile/encode.go @@ -330,7 +330,7 @@ func (p *Profile) postDecode() error { if l.strX != 0 { value, err = getString(p.stringTable, &l.strX, err) labels[key] = append(labels[key], value) - } else if l.numX != 0 || l.unitX != 0 { + } else { numValues := numLabels[key] units := numUnits[key] if l.unitX != 0 {