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

last(), first() commands print wrong date #3121

Closed
biskit opened this issue Jun 24, 2015 · 3 comments
Closed

last(), first() commands print wrong date #3121

biskit opened this issue Jun 24, 2015 · 3 comments

Comments

@biskit
Copy link

biskit commented Jun 24, 2015

from cli, they all seem to print epoch value.
centos 6.6 - latest download

time last
1970-01-01T00:00:00Z 6.887297e+06
time first
1970-01-01T00:00:00Z 0
@beckettsean
Copy link
Contributor

This is documented behavior: https://influxdb.com/docs/v0.9/query_language/aggregate_functions.html

The issue to address this is #1577.

@biskit
Copy link
Author

biskit commented Jun 24, 2015

i see similarity with #3079 but still quite can't make connection with documented behavior.

can someone post a query to get latest value and time of it from a series?
(that's because last() cannot be used with a 'group by')

@beckettsean
Copy link
Contributor

@biskit what you're asking for is in #1577, not yet implemented. There is no query (yet) that will return the actual timestamp of a point if there is a function in the SELECT clause.

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