From 540e0d98c6d752605ddb6304138948541a66b01e Mon Sep 17 00:00:00 2001 From: Ericsssss Date: Thu, 15 Aug 2024 19:33:18 +0800 Subject: [PATCH] fix: Modify alert_event tag type error #26069 --- server/querier/engine/clickhouse/tag/description.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/querier/engine/clickhouse/tag/description.go b/server/querier/engine/clickhouse/tag/description.go index da007999691..26e78265790 100644 --- a/server/querier/engine/clickhouse/tag/description.go +++ b/server/querier/engine/clickhouse/tag/description.go @@ -920,8 +920,8 @@ func GetDynamicTagDescriptions(db, table, rawSql, queryCacheTTL, orgID string, u } else { categoryValue = _tagName.([]interface{})[2].(string) response.Values = append(response.Values, []interface{}{ - externalTag, externalTag, externalTag, externalTag, "map_item", - categoryValue, tagTypeToOperators[_tagName.([]interface{})[2].(string)], []bool{true, true, true}, externalTag, "", false, notSupportOperator, tableName, + externalTag, externalTag, externalTag, externalTag, categoryValue, + categoryValue, tagTypeToOperators[categoryValue], []bool{true, true, true}, externalTag, "", false, notSupportOperator, tableName, }) }