Commit 5bbe9c8
committed
[SPARK-48842][DOCS] Document non-determinism of max_by and min_by
### What changes were proposed in this pull request?
Document non-determinism of max_by and min_by
### Why are the changes needed?
I have been confused by this non-determinism twice, it occurred like a correctness bug to me.
So I think we need to document it
### Does this PR introduce _any_ user-facing change?
doc change only
### How was this patch tested?
ci
### Was this patch authored or co-authored using generative AI tooling?
no
Closes #47266 from zhengruifeng/py_doc_max_by.
Authored-by: Ruifeng Zheng <[email protected]>
Signed-off-by: Ruifeng Zheng <[email protected]>1 parent 0e940e2 commit 5bbe9c8
File tree
5 files changed
+38
-0
lines changed- R/pkg/R
- connector/connect/client/jvm/src/main/scala/org/apache/spark/sql
- python/pyspark/sql/functions
- sql
- catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate
- core/src/main/scala/org/apache/spark/sql
5 files changed
+38
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1558 | 1558 | | |
1559 | 1559 | | |
1560 | 1560 | | |
| 1561 | + | |
| 1562 | + | |
| 1563 | + | |
1561 | 1564 | | |
1562 | 1565 | | |
1563 | 1566 | | |
| |||
1633 | 1636 | | |
1634 | 1637 | | |
1635 | 1638 | | |
| 1639 | + | |
| 1640 | + | |
| 1641 | + | |
1636 | 1642 | | |
1637 | 1643 | | |
1638 | 1644 | | |
| |||
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
884 | 884 | | |
885 | 885 | | |
886 | 886 | | |
| 887 | + | |
| 888 | + | |
| 889 | + | |
| 890 | + | |
887 | 891 | | |
888 | 892 | | |
889 | 893 | | |
| |||
932 | 936 | | |
933 | 937 | | |
934 | 938 | | |
| 939 | + | |
| 940 | + | |
| 941 | + | |
| 942 | + | |
935 | 943 | | |
936 | 944 | | |
937 | 945 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1271 | 1271 | | |
1272 | 1272 | | |
1273 | 1273 | | |
| 1274 | + | |
| 1275 | + | |
| 1276 | + | |
| 1277 | + | |
| 1278 | + | |
1274 | 1279 | | |
1275 | 1280 | | |
1276 | 1281 | | |
| |||
1352 | 1357 | | |
1353 | 1358 | | |
1354 | 1359 | | |
| 1360 | + | |
| 1361 | + | |
| 1362 | + | |
| 1363 | + | |
| 1364 | + | |
1355 | 1365 | | |
1356 | 1366 | | |
1357 | 1367 | | |
| |||
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
102 | 106 | | |
103 | 107 | | |
104 | 108 | | |
| |||
122 | 126 | | |
123 | 127 | | |
124 | 128 | | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
125 | 133 | | |
126 | 134 | | |
127 | 135 | | |
| |||
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
902 | 902 | | |
903 | 903 | | |
904 | 904 | | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
905 | 908 | | |
906 | 909 | | |
907 | 910 | | |
| |||
952 | 955 | | |
953 | 956 | | |
954 | 957 | | |
| 958 | + | |
| 959 | + | |
| 960 | + | |
955 | 961 | | |
956 | 962 | | |
957 | 963 | | |
| |||
0 commit comments