You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you use GROUP BY time() in a subquery and include time bounds in the WHERE clause, the WHERE clause has to be to be in the inner query before the GROUP BY clause, not the outer query. Otherwise the query returns no results.
For example, the following query doesn't return any results:
sanderson
changed the title
Add info about InfluxQL GROUP BY with time bounds behavior in subqueries
Add info about InfluxQL GROUP BY time() with time bounds behavior in subqueries
Dec 13, 2023
If you use
GROUP BY time()
in a subquery and include time bounds in theWHERE
clause, theWHERE
clause has to be to be in the inner query before theGROUP BY
clause, not the outer query. Otherwise the query returns no results.For example, the following query doesn't return any results:
However, the following query does return results:
Relevant URLs
The text was updated successfully, but these errors were encountered: