Skip to content

Commit

Permalink
fix: add a note about ordering (or lack of)
Browse files Browse the repository at this point in the history
  • Loading branch information
Blizzara committed Jun 26, 2024
1 parent 79c25ce commit c93c326
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions extensions/functions_aggregate_generic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ aggregate_functions:
description: >-
First value from a group of values.
The definition of "first" depends on ordering. If ordering is not defined, the returned value may be chosen
non-deterministically.
If `ignore_nulls` is set to `TRUE`, the function will look for the first non-null value.
If set to `FALSE`, the function will return the first value it sees, even if null.
Expand All @@ -58,6 +61,9 @@ aggregate_functions:
description: >-
Last value from a group of values.
The definition of "last" depends on ordering. If ordering is not defined, the returned value may be chosen
non-deterministically.
If `ignore_nulls` is set to `TRUE`, the function will look for the first non-null value.
If set to `FALSE`, the function will return the first value it sees, even if null.
Expand Down

0 comments on commit c93c326

Please sign in to comment.