Skip to content

Commit 7b25c4a

Browse files
committed
Remaining review suggestions
1 parent 81e4fa3 commit 7b25c4a

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

src/content/docs/analytics/analytics-engine/sql-reference/aggregate-functions.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Usage:
6060
avg([DISTINCT] column_name)
6161
```
6262

63-
Avg is an aggregation function that returns the mean of column values across all rows in each group or results set. Avg also supports `DISTINCT`, but in this case it will only average the unique values in the column.
63+
`avg` is an aggregation function that returns the mean of column values across all rows in each group or results set. Avg also supports `DISTINCT`, but in this case it will only average the unique values in the column.
6464

6565
Example:
6666

@@ -79,7 +79,7 @@ Usage:
7979
min(column_name)
8080
```
8181

82-
Min is an aggregation function that returns the minimum value of a column across all rows.
82+
`min` is an aggregation function that returns the minimum value of a column across all rows.
8383

8484
Example:
8585

@@ -96,7 +96,7 @@ Usage:
9696
max(column_name)
9797
```
9898

99-
Max is an aggregation function that returns the maximum value of a column across all rows.
99+
`max` is an aggregation function that returns the maximum value of a column across all rows.
100100

101101
Example:
102102

@@ -113,7 +113,7 @@ Usage:
113113
quantileExactWeighted(q)(column_name, weight_column_name)
114114
```
115115

116-
`quantileExactWeighted` is an aggregation function that returns the value at the q<sup>th</sup> quantile in the named column across all rows in each group or results set. Each row will be weighted by the value in `weight_column_name`. Typically this would be `_sample_interval` (refer to [how sampling works](/analytics/analytics-engine/sql-api/#sampling), for more information).
116+
`quantileExactWeighted` is an aggregation function that returns the value at the q<sup>th</sup> quantile in the named column across all rows in each group or results set. Each row will be weighted by the value in `weight_column_name`. Typically this would be `_sample_interval` (refer to [Sampling](/analytics/analytics-engine/sql-api/#sampling) for more information).
117117

118118
Example:
119119

src/content/docs/analytics/analytics-engine/sql-reference/date-time-functions.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ Usage:
7272
formatDateTime(<datetime expression>, <format string>[, <timezone string>])
7373
```
7474

75-
`formatDateTime` prints a datetime as a string according to a provided format string. See
76-
[ClickHouse's docs](https://clickhouse.com/docs/en/sql-reference/functions/date-time-functions/#formatdatetime)
75+
`formatDateTime` prints a datetime as a string according to a provided format string. Refer to
76+
[ClickHouse's documentation](https://clickhouse.com/docs/en/sql-reference/functions/date-time-functions/#formatdatetime)
7777
for a list of supported formatting options.
7878

7979
Examples:

src/content/docs/analytics/analytics-engine/sql-reference/statements.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ SELECT <expression_list>
5454
[FORMAT <format>]
5555
```
5656

57-
Below you can find the syntax of each clause. Refer to the [SQL API docs](/analytics/analytics-engine/sql-api/) for some example queries.
57+
Below you can find the syntax of each clause. Refer to the [SQL API](/analytics/analytics-engine/sql-api/) documentation for some example queries.
5858

5959
### SELECT clause
6060

@@ -173,7 +173,7 @@ Usage:
173173
GROUP BY <expression>, ...
174174
```
175175

176-
For example. If you had a table of temperature readings:
176+
For example, if you had a table of temperature readings:
177177

178178
```sql
179179
-- return the average temperature for each probe

src/content/docs/analytics/analytics-engine/sql-reference/string-functions.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Usage:
5757
lower({string})
5858
```
5959

60-
Returns the string converted to lowercase. This function is NOT Unicode compatible - see `lowerUTF8` for that.
60+
Returns the string converted to lowercase. This function is NOT Unicode compatible - refer to `lowerUTF8` for that.
6161

6262
Examples:
6363

@@ -93,7 +93,7 @@ Usage:
9393
upper({string})
9494
```
9595

96-
Returns the string converted to uppercase. This function is NOT Unicode compatible - see `upperUTF8` for that.
96+
Returns the string converted to uppercase. This function is NOT Unicode compatible - refer to `upperUTF8` for that.
9797

9898
Examples:
9999

0 commit comments

Comments
 (0)