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

Fill should fill the entire time range that is requested #426

Merged
merged 1 commit into from
Aug 6, 2014
Merged

Conversation

jvshahid
Copy link
Contributor

@jvshahid jvshahid commented Aug 6, 2014

See #117 for info on the fill function. Based on that discussion, we should be filling for the entire requested time range. If you try to graph two weeks of data and it doesn't fill at the edges and you only see a few days of data, that's bad.

So, for any query that has a where time > ... clause in it, make sure you fill from that time to whenever the end time is.

Prior to this change, empty group filling worked between t1 and t2,
where t1 is the timestamp of the earliest point and t2 is the timestamp
of the last point. This patch change the behavior of the fill() to use
the query start and end time as t1 and t2, respectively. This only
happens if the user specified the start time of the query. Otherwise,
there's a potential of filling millions of millions of groups, since the
default start time of the query is really really early.
pauldix added a commit that referenced this pull request Aug 6, 2014
Fill should fill the entire time range that is requested
@pauldix pauldix merged commit 69ba4ef into master Aug 6, 2014
@jvshahid jvshahid deleted the fix-426 branch August 12, 2014 19:17
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

Successfully merging this pull request may close these issues.

None yet

2 participants