Commit 09482e5
Add Spark 3.5.9 support for CreateNamedStruct shims (NVIDIA#15388)
### Description
`CreateNamedStructShims` and `GpuCreateNamedStructSuite` were introduced
while Spark 3.5.9 support was being added, so their shim metadata
omitted the `359` entry. As a result, common code in a Spark 3.5.9 build
cannot resolve `CreateNamedStructShims`.
This change adds the missing `{"spark": "359"}` entry to both files.
Spark 3.5.9 now uses the same legacy `name.toString` behavior as the
other Spark 3.5.x shims, and the existing `GpuCreateNamedStructSuite`
runs for this build version.
Validation:
- `mvn -Dbuildver=359 -DskipTests -pl sql-plugin -am install` — `BUILD
SUCCESS`
- `mvn -Dbuildver=359 -pl sql-plugin test
-Dsuffixes='.*GpuCreateNamedStructSuite'` — 1 test passed
### Checklists
Documentation
- [ ] Updated for new or modified user-facing features or behaviors
- [x] No user-facing change
Testing
- [x] Added or modified tests to cover new code paths
- [ ] Covered by existing tests
- [ ] Not required
Performance
- [ ] Tests ran and results are added in the PR description
- [ ] Issue filed with a link in the PR description
- [x] Not required
Co-authored-by: Chong Gao <res_life@163.com>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>1 parent 391e34f commit 09482e5
2 files changed
Lines changed: 2 additions & 0 deletions
File tree
- sql-plugin/src
- main/spark330/scala/org/apache/spark/sql/rapids/shims
- test/spark330/scala/org/apache/spark/sql/rapids
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
0 commit comments