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() does not fill empty series/ timespan #996

Closed
nicolai86 opened this issue Oct 1, 2014 · 7 comments
Closed

fill() does not fill empty series/ timespan #996

nicolai86 opened this issue Oct 1, 2014 · 7 comments
Assignees

Comments

@nicolai86
Copy link
Contributor

When trying to fill a timespan which does not contain any data at all, fill does not fill anything.

For example, given we have an example series, which has only data since today:

SELECT
  SUM(type)
FROM example
  WHERE time > now()-6d and time < now()-1d
GROUP BY time(1d) fill(-1);

will return [] instead of [-1, -1, -1, -1, -1, -1].

Only if there is at least one data point in the queried timeframe will fill work.

@btrepp
Copy link

btrepp commented Oct 8, 2014

This happened to me today. Surprising result to say the least.

@jvshahid
Copy link
Contributor

jvshahid commented Oct 8, 2014

what version are you guys using ?

@nicolai86
Copy link
Contributor Author

0.8.3 on osx & ubuntu

@btrepp
Copy link

btrepp commented Oct 9, 2014

I'm using the tutum/influxdb docker image. According to the dockerfile thats 0.8.2

@jvshahid
Copy link
Contributor

@dgnorton do you want to take a look at this ?

@dgnorton
Copy link
Contributor

@jvshahid will do

@harobed
Copy link

harobed commented Dec 17, 2014

It's work great in Influxdb 0.8.7, thanks.

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

7 participants