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

wrong date returned when using last() #3396

Closed
jacek213 opened this issue Jul 20, 2015 · 1 comment
Closed

wrong date returned when using last() #3396

jacek213 opened this issue Jul 20, 2015 · 1 comment

Comments

@jacek213
Copy link

When using last() function the beginning of unix epoch is always returned as timestamp. Its a little troublesome because I cannot use ORDER BY time DESC limit 1 yet and I simply want to get the latest value with its timestamp.

Query:

SELECT last(value) FROM /^response_times.service_1.*/ LIMIT 1

Response:

{"results":[{"series":[{"name":"response_times.service_1.pl.warsaw.dc1","columns":["time","last"],"values":[["1970-01-01T00:00:00Z",0.036371598]]},{"name":"response_times.service_1.us.new-york.dc3","columns":["time","last"],"values":[["1970-01-01T00:00:00Z",0.999999999]]}]}]}
@beckettsean
Copy link
Contributor

Duplicate of #1577

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

No branches or pull requests

2 participants