clarify granularity docs (#7977)

This commit is contained in:
Clint Wylie 2019-06-27 08:51:22 -07:00 committed by Fangjin Yang
parent 7a5bc5ffcd
commit 10d6b0318d
1 changed files with 4 additions and 5 deletions

View File

@ -176,11 +176,10 @@ If you change the granularity to `none`, you will get the same results as settin
} ] } ]
``` ```
Having a query granularity smaller than the ingestion granularity doesn't make sense, Having a query time `granularity` that is smaller than the `queryGranularity` parameter set at
because information about that smaller granularity is not present in the indexed data. [ingestion time]((../ingestion/ingestion-spec.html#granularityspec)) is unreasonable because information about that
So, if the query granularity is smaller than the ingestion granularity, druid produces smaller granularity is not present in the indexed data. So, if the query time granularity is smaller than the ingestion
results that are equivalent to having set the query granularity to the ingestion granularity. time query granularity, Druid produces results that are equivalent to having set `granularity` to `queryGranularity`.
See `queryGranularity` in [Ingestion Spec](../ingestion/ingestion-spec.html#granularityspec).
If you change the granularity to `all`, you will get everything aggregated in 1 bucket, If you change the granularity to `all`, you will get everything aggregated in 1 bucket,