Skip to content

Conversation

@techdocsmith
Copy link
Contributor

Updates timeseries docs to reflect the impact of druid.generic.useDefaultValueForNull=false

This PR has:

  • [ x] been self-reviewed.

upon the grand total aggregations.

## Zero-filling
## NULL filling
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if we should call this "Empty filling" or "Empty bucket filling" or something similar?

It doesn't actually always fill with zeros or nulls depending on the mode, rather it fills with the default values of the aggregator functions. Since they aggregate no rows, only the default value is there. https://github.com/apache/druid/blob/master/docs/querying/sql-aggregations.md has the default values of the aggregators.

## NULL filling

Timeseries queries normally fill empty interior time buckets with zeroes. For example, if you issue a "day" granularity
By default timeseries queries fill empty interior time buckets with NULL.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same comment about default aggregator value(s), and in other places too.

@vtlim vtlim merged commit db3a633 into apache:master Dec 7, 2023
techdocsmith added a commit to techdocsmith/druid that referenced this pull request Dec 13, 2023
Co-authored-by: Victoria Lim <vtlim@users.noreply.github.com>
317brian added a commit that referenced this pull request Dec 13, 2023
…15548)

Co-authored-by: Victoria Lim <vtlim@users.noreply.github.com>
Co-authored-by: 317brian <53799971+317brian@users.noreply.github.com>
@LakshSingla LakshSingla added this to the 29.0.0 milestone Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants