influxdb/cmd
Jonathan A. Sternberg 72e4dd01b9 Properly select a tag within a subquery
Previously, subqueries would only be able to select tag fields within a
subquery if the subquery used a selector. But, it didn't filter out
aggregates like `mean()` so it would panic instead.

Now it is possible to select the tag directly instead of rewriting the
query in an invalid way.

Some queries in this form will still not work though. For example, the
following still does not function (but also doesn't panic):

    SELECT count(host) FROM (SELECT mean, host FROM (SELECT mean(value) FROM cpu GROUP BY host))
2017-02-23 11:16:22 -06:00
..
influx Remove token message; Fixes 2017-01-11 13:43:45 -08:00
influx_inspect Merge pull request from influxdata/mr-lint-cleanup 2017-01-10 08:22:00 -08:00
influx_stress Update godoc for the cmd package and subpackages 2016-12-30 11:58:43 -08:00
influx_tsm Merge pull request from influxdata/mr-lint-cleanup 2017-01-10 08:22:00 -08:00
influxd Properly select a tag within a subquery 2017-02-23 11:16:22 -06:00
parse.go Update godoc for the cmd package and subpackages 2016-12-30 11:58:43 -08:00