-
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
Fixing bucket alignment for group by #2016
Conversation
Thanks @jnutzmann -- the test suite failed however. Can you dig into that? You can find the test output on the "Details" link above, and you can also run the tests manually too, of course. |
Yup. Already have a fix that I am working on. Seems like there are two issues. First in how it calculates the number of points to return and also in the expected result (should return a bucket with null). I'll update my branch shortly. |
Great. You must also sign the CLA, if you have not already done so. |
…ted and the expected result of the server
I signed the CLA this morning. As far as the change to the test goes, I believe the previous expected result was incorrect, but I want to make sure you agree. The previous result placed the the point occurring at Seem correct? |
@jnutzmann I'm check on this now. Your logic makes sense - I'll verify and let you know. |
Unit test changes look good to me -- thanks @jnutzmann. +1 on this change. |
Fixing bucket alignment for group by
This addresses issue #2005
It makes sure the buckets land on natural boundaries. If the minimum time specified falls in the middle of a bucket, it returns bucket, but only data after the minimum time.