Fix TSI issue with spaces in tag values.

pull/8539/head
Ben Johnson 2017-06-28 11:39:48 -06:00
parent 87975c7b2b
commit f9dc61928a
No known key found for this signature in database
GPG Key ID: 81741CD251883081
1 changed files with 1 additions and 1 deletions

View File

@ -707,7 +707,7 @@ func (i *Index) TagSets(name []byte, opt influxql.IteratorOptions) ([]*influxql.
}
}
// Associate the series and filter with the Tagset.
tagSet.AddFilter(string(SeriesElemKey(e)), e.Expr())
tagSet.AddFilter(string(models.MakeKey(e.Name(), e.Tags())), e.Expr())
// Ensure it's back in the map.
tagSets[string(tagsAsKey)] = tagSet