fix select tags

pull/2742/head
Cory LaNou 2015-06-02 14:48:33 -06:00
parent b18546be22
commit 900903ee69
1 changed files with 1 additions and 0 deletions

View File

@ -82,6 +82,7 @@ func (tx *tx) CreateMapReduceJobs(stmt *influxql.SelectStatement, tagKeys []stri
return nil, fmt.Errorf("unknown field or tag name in select clause: %s", n)
}
selectTags = append(selectTags, n)
tagKeys = append(tagKeys, n)
}
for _, n := range stmt.NamesInWhere() {
if n == "time" {