-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
fill(none) does not apply to count() #5042
Comments
Are you on nightly? This got pushed to master yesterday and might fix that issue: #5000 |
No I'm not. I will see if I can install the rpm and test it |
I just tested it against 0.9.7_nightly_9c65e17-1 and still seems broken |
Ok. Thanks. @nathanielc is this something you want to look at since you were just in there? Adding a test should be easy enough based on the info above I think. |
Count should always returns 0 for intervals without points. That is the Fill does not apply to count. On Tuesday, December 8, 2015, Cory LaNou notifications@github.com wrote:
|
May be I wasn't clear enough. I am getting 0 counts for intervals without points. But I expected that fill(none) would eliminate 0 counts. This can be more illustrative with an example: We write a point to the QueueEvent measurement every time a token arrives or leaves a queue. If count() is not meant for this, then we need another count function that excludes zeros if fill(none) |
You make a good point. @pauldix -- after we changed |
I agree fill none should suppress counts of zero. This should be similar to
|
agree |
OK, sending your way @nathanielc - sound good? |
Thank you for your great support. |
I have this query
And the result has 1440 records even for those empty intervals
If I change the query to
It will leave empty intervals out
So basically count() alone is not taken into account by fill(none).
But I believe it should have.
The text was updated successfully, but these errors were encountered: