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
select derivative(value) from foo wheretime> now() - 4h group bytime(1m)
That query should fail. Derivatives with a GROUP BY time clause require an aggregate function to be in the call to derivative, like this:
select derivative(first(value)) from foo wheretime> now() - 4h group bytime(1m)
This should be validated at parse time. The error message should indicate that they can use an aggregate function inside the call to derivative, like min, max, first, last, mean, or sum.
The text was updated successfully, but these errors were encountered:
If you do the query:
That query should fail. Derivatives with a
GROUP BY time
clause require an aggregate function to be in the call to derivative, like this:This should be validated at parse time. The error message should indicate that they can use an aggregate function inside the call to derivative, like min, max, first, last, mean, or sum.
The text was updated successfully, but these errors were encountered: