Skip to content

Commit cf8d02c

Browse files
authored
Merge pull request #4159 from soerenwolfers/patch-36
Update order_preservation.md
2 parents 921a5a6 + 166a0b7 commit cf8d02c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/sql/dialect/order_preservation.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ The following operations **do not** guarantee that the row order is preserved:
5757
* `JOIN`
5858
* `SAMPLE`
5959
* `UNION`
60-
* `GROUP BY`
61-
* `ORDER BY`
60+
* `GROUP BY` (in particular, the output order is undefined and the order in which rows are fed into [order-sensitive aggregate functions](https://duckdb.org/docs/sql/functions/aggregates.html#order-by-clause-in-aggregate-functions) is undefined unless explicitly specified in the aggregate function)
61+
* `ORDER BY` (specifically, `ORDER BY` may not use a [stable algorithm](https://en.m.wikipedia.org/wiki/Stable_algorithm))
6262

6363
## Insertion Order
6464

0 commit comments

Comments
 (0)