fix to Avro writer special cases

This commit is contained in:
Aditya Ujeniya
2025-05-14 17:29:28 +02:00
parent a03eb315f5
commit 5569ad53d2
6 changed files with 149 additions and 110 deletions

View File

@@ -36,12 +36,8 @@ func DataStaging(wg *sync.WaitGroup, ctx context.Context) {
metricName := ""
for i, name := range val.Selector {
if i == 0 {
metricName += name
} else {
metricName += "_" + name
}
for _, selector_name := range val.Selector {
metricName += selector_name + "_"
}
metricName += val.MetricName