Skip to content

Commit

Permalink
fix phrasing
Browse files Browse the repository at this point in the history
  • Loading branch information
matriv committed Jan 22, 2019
1 parent 5a2c05c commit 3ea4bdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/reference/sql/functions/grouping.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,6 @@ include-tagged::{sql-specs}/docs.csv-spec[histogramDateTimeExpression]
----

[NOTE]
When the histogram in SQL is applied on **DATE** type instead of **DATETIME** and the interval specified is rounded to
When the histogram in SQL is applied on **DATE** type instead of **DATETIME**, then the interval specified is rounded to
the nearest multiple of a day. E.g.: for `HISTOGRAM(CAST(birth_date AS DATE), INTERVAL '2 3:04' DAY TO MINUTE)`
the interval actually used will be `INTERVAL 2 DAYS`.

0 comments on commit 3ea4bdf

Please sign in to comment.