Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions documentation/reference/function/aggregation.md
Original file line number Diff line number Diff line change
Expand Up @@ -493,8 +493,8 @@ SELECT payment_type, covar_samp(price, quantity) FROM transactions GROUP BY paym
- `first(column_name)` - returns the first value of a column.

Supported column datatype: `double`, `float`, `integer`, `IPv4`, `character`,
`short`, `byte`, `timestamp`, `date`, `long`, `geohash`, `symbol`, `varchar` and
`uuid`.
`short`, `byte`, `timestamp`, `date`, `long`, `geohash`, `symbol`, `varchar`,
`uuid` and `array`.

If a table has a [designated timestamp](/docs/concept/designated-timestamp/),
then the first row is always the row with the lowest timestamp (oldest). For a table
Expand Down Expand Up @@ -655,8 +655,8 @@ FROM (SELECT rnd_double() a FROM long_sequence(100));
- `last(column_name)` - returns the last value of a column.

Supported column datatype: `double`, `float`, `integer`, `IPv4`, `character`,
`short`, `byte`, `timestamp`, `date`, `long`, `geohash`, `symbol`, `varchar` and
`uuid`.
`short`, `byte`, `timestamp`, `date`, `long`, `geohash`, `symbol`, `varchar`,
`uuid` and `array`.

If a table has a [designated timestamp](/docs/concept/designated-timestamp/), the
last row is always the one with the highest (latest) timestamp.
Expand Down