Any way to not return Timeseries samples with no data?

I’d like for druid to respond with this for a timeseries query:




] // 2 samples

rather than:








] // 60 samples

So that an interval divided into samples will only return data in the response for samples that have non-empty values (and the missing samples will be assumed to be empty/zero).

Is this possible?

Thanks for your help.


Hey Duane, it’s possible to do this by disabling zero-filling. You can do that in current Druid versions, although it was undocumented until recently. You can see the docs here for now, until they’re published on the site:

Thanks Gian, this is exactly what I needed.