From 9308b6586a44e5999180f64a96cfb91e372f04dd Mon Sep 17 00:00:00 2001 From: Sam Arnold Date: Wed, 24 Nov 2021 14:43:50 -0500 Subject: [PATCH] chore: remove unused member from TagSet (#22930) Co-authored-by: Tristan Su --- influxql/query/result.go | 1 - tsdb/index.go | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/influxql/query/result.go b/influxql/query/result.go index f2bb8197e3..b315064e21 100644 --- a/influxql/query/result.go +++ b/influxql/query/result.go @@ -17,7 +17,6 @@ const ( // TagSet is a fundamental concept within the query system. It represents a composite series, // composed of multiple individual series that share a set of tag attributes. type TagSet struct { - Tags map[string]string Filters []influxql.Expr SeriesKeys []string Key []byte diff --git a/tsdb/index.go b/tsdb/index.go index fa2ed9a92d..5bca86ff35 100644 --- a/tsdb/index.go +++ b/tsdb/index.go @@ -3122,8 +3122,7 @@ func (is IndexSet) TagSets(sfile *SeriesFile, name []byte, opt query.IteratorOpt if !ok { // This TagSet is new, create a new entry for it. tagSet = &query.TagSet{ - Tags: nil, - Key: tagsAsKey, + Key: tagsAsKey, } }