Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wire up non_negative_derivative function #1477

Closed
pauldix opened this issue Jan 31, 2015 · 2 comments
Closed

Wire up non_negative_derivative function #1477

pauldix opened this issue Jan 31, 2015 · 2 comments
Assignees
Milestone

Comments

@pauldix
Copy link
Member

pauldix commented Jan 31, 2015

This is an odd one because it can behave either like an aggregate function or not. If given a group by time, the user will have to nest another aggregate function like this:

SELECT non_negative_derivative(max(value)) from key_count
WHERE time > now() - 1h
GROUP BY time(5m)

If they don't supply a group by time, it should act as a transformation function that computes the derivate between one point and the next. Like this:

SELECT non_negative_derivative(value) from key_count
WHERE time > now() - 1h
GROUP BY time(5m)
@pauldix pauldix changed the title Wire up nonNegativeDerivative function Wire up non_negative_derivative function Mar 2, 2015
@pauldix pauldix added this to the 0.9.0 milestone Mar 14, 2015
@otoolep otoolep self-assigned this Mar 25, 2015
@mercury2269
Copy link

guys any work around on performing non_negative_derivative function manually right now until 0.9.0 is released?

@jwilder
Copy link
Contributor

jwilder commented Jun 3, 2015

@hordecore It's already available in the current release. See #2569.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants