techdocsmith commented on a change in pull request #11672:
URL: https://github.com/apache/druid/pull/11672#discussion_r706292845
##########
File path: docs/querying/granularities.md
##########
@@ -28,9 +28,11 @@ sidebar_label: "Granularities"
> language. For information about time functions available in SQL, refer to the
> [SQL documentation](sql.md#time-functions).
-The granularity field determines how data gets bucketed across the time
dimension, or how it gets aggregated by hour, day, minute, etc.
+Granularity determines how to bucket data across the time dimension, or how to
aggregate data by hour, day, minute, etc.
-It can be specified either as a string for simple granularities or as an
object for arbitrary granularities.
+For example, use time granularities in [native queries](querying.md) to bucket
results by time, and in the `dataSchema` \\
[`granularitySpec`](../ingestion/ingestion-spec.md#granularityspec) section of
ingestion specifications to segment incoming data.
+
+You can specify a time period as a [simple](#simple-granularities) string, as
a [duration](#duration-granularities) in milliseconds, or as an arbritrary
ISO8601 [period](#period-granularities).
Review comment:
```suggestion
You can specify a time period as a [simple](#simple-granularities) string,
as a [duration](#duration-granularities) in milliseconds, or as an arbitrary
ISO8601 [period](#period-granularities).
```
fix typo
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]