Commit bb0678f
committed
test: expect Spark fallback for shuffle on map with array/struct keys
Spark 4.0 wraps map shuffle keys in mapsort(...). Comet's map_sort relies
on Arrow's sort_to_indices, which only supports scalar key types, so maps
with array or struct keys fall back to Spark. Update the
'columnar shuffle on array/struct map key/value' test to expect 0 Comet
shuffles for the array-key and struct-key cases on Spark 4.0+, while
keeping the scalar-key cases at 1.1 parent 77cd1d9 commit bb0678f
1 file changed
Lines changed: 6 additions & 2 deletions
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
155 | 159 | | |
156 | 160 | | |
157 | 161 | | |
| |||
164 | 168 | | |
165 | 169 | | |
166 | 170 | | |
167 | | - | |
| 171 | + | |
168 | 172 | | |
169 | 173 | | |
170 | 174 | | |
| |||
182 | 186 | | |
183 | 187 | | |
184 | 188 | | |
185 | | - | |
| 189 | + | |
186 | 190 | | |
187 | 191 | | |
188 | 192 | | |
| |||
0 commit comments