Commit ae6237f
feat: add MapSort expression support for Spark 4.0
Add native map_sort scalar function that sorts map entries by key in
ascending order, and wire it up via the Spark 4.0 CometExprShim so that
MapSort expressions are accelerated instead of falling back to Spark.
Re-enable all CometColumnarShuffleSuite map tests that were skipped for
Spark 4.0.
Closes #1941
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 5076f63 commit ae6237f
6 files changed
Lines changed: 742 additions & 60 deletions
File tree
- native/spark-expr/src
- map_funcs
- spark/src
- main/spark-4.0/org/apache/comet/shims
- test/scala/org/apache/comet/exec
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
191 | 192 | | |
192 | 193 | | |
193 | 194 | | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
194 | 199 | | |
195 | 200 | | |
196 | 201 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| 60 | + | |
60 | 61 | | |
61 | 62 | | |
62 | 63 | | |
| |||
0 commit comments