Commit 843b8a0
authored
Add Spark 4.1.3 shim support[databricks] (NVIDIA#15310)
Fixes NVIDIA#15271.
### Description
- Add Spark 4.1.3 build metadata, release profile, and Scala 2.13
buildver validation so the public plugin can build against the new Spark
shim.
- Extend compatible Spark shim annotations to include 4.1.3 so existing
shared Spark 4.1.x shim implementations are compiled for the new
buildver.
- Add Spark 4.1.3-specific shim service provider and shims suite because
the provider/test version checks need to report 4.1.3 explicitly.
- Update generated operator metadata for buildver 413 so tool output
matches the newly supported Spark version.
- Validated with `mvn -f scala2.13/pom.xml -Dbuildver=413
-Dcuda.version=cuda13 clean package`: Scala tests passed for
`sql-plugin` (64), `udf-compiler` (165), `integration_tests` (36), and
`tests` (1821 passed, 104 canceled, 31 ignored).
- Local NDS performance results show no overall performance regression
observed for Spark 4.1.3.
| Item | Value |
| ------------- |
---------------------------------------------------------- |
| Dataset | /bigdata/tpcds_data/parquet_100f |
| Format | Parquet |
| RAPIDS jar | rapids-4-spark_2.13-26.08.0-SNAPSHOT-cuda13-412-413.jar |
| Spark 4.1.2 | spark-4.1.2-bin-hadoop3 |
| Spark 4.1.3 | spark-4.1.3-bin-hadoop3 |
| Runs | 3 per shim |
| Compared runs | Warm runs only: run 2 and run 3 |
| Query status | 618 query JSON records checked, 0 non-Completed |
| Result | No overall performance regression observed for Spark 4.1.3 |
| Metric | Spark 4.1.2 | Spark 4.1.3 | 4.1.3 vs 4.1.2 |
| -------------------------- | ----------- | ----------- |
-------------- |
| Power run 2 | 577.000s | 621.000s | +7.63% |
| Power run 3 | 589.000s | 541.000s | -8.15% |
| Power run avg | 583.000s | 581.000s | -0.34% |
| Sum of per-query avg times | 581.716s | 579.863s | -0.32% |
### Checklists
Documentation
- [x] Updated for new or modified user-facing features or behaviors
- [ ] No user-facing change
Testing
- [ ] Added or modified tests to cover new code paths
- [x] Covered by existing tests
(Please provide the names of the existing tests in the PR description.)
- [ ] Not required
Performance
- [x] Tests ran and results are added in the PR description
- [ ] Issue filed with a link in the PR description
- [ ] Not required
Signed-off-by: Firestarman <firestarmanllc@gmail.com>1 parent 1f3df51 commit 843b8a0
207 files changed
Lines changed: 1728 additions & 6 deletions
File tree
- datagen/src/main/spark400/scala/org/apache/spark/sql/tests/datagen
- integration_tests/src/test/spark400/scala/org/apache/spark/sql/rapids/shims
- scala2.13
- sql-plugin-api
- tests
- sql-plugin-api
- sql-plugin/src
- main
- spark330db/scala
- com/nvidia/spark/rapids/shims
- parquet
- org/apache/spark/sql
- execution/datasources/rapids
- rapids
- aggregate
- shims
- spark330/scala
- com/nvidia/spark/rapids
- shims
- org/apache/spark
- rapids/shims
- sql
- execution/datasources/parquet
- hive/rapids/shims
- rapids
- shims
- storage
- spark331/scala/com/nvidia/spark/rapids/shims
- spark332db/scala
- com/nvidia/spark/rapids/shims
- org/apache/spark/sql
- execution/datasources
- hive/rapids/shims
- rapids
- shims
- spark334/scala/com/nvidia/spark/rapids/shims
- spark340/scala
- com/nvidia/spark/rapids
- shims
- parquet
- shuffle
- org/apache/spark/sql
- catalyst
- csv
- json
- errors
- rapids
- execution
- shims
- spark341db/scala
- com/nvidia/spark/rapids/shims
- org/apache/spark/sql
- execution/rapids/shims
- hive/rapids/shims
- rapids/execution/python/shims
- spark342/scala/com/nvidia/spark/rapids/shims
- spark350db143/scala
- com/nvidia/spark/rapids
- shims
- org/apache/spark/sql/rapids
- execution/python/shims
- shims
- spark350/scala
- com/nvidia/spark/rapids
- shims
- org/apache/spark/sql
- catalyst
- execution/datasources
- parquet/rapids/shims
- v2
- rapids
- execution
- shims
- spark352/scala/com/nvidia/spark/rapids/shims
- spark400db173/scala
- com/nvidia/spark/rapids/shims
- org/apache/spark/sql/rapids
- execution/python/shims
- shims
- spark400/scala
- com/nvidia/spark/rapids/shims
- org/apache/spark/sql
- execution
- datasources/v2
- rapids
- rapids/shims
- hive/rapids/shims
- nvidia
- rapids
- execution
- python/shims
- shims
- spark403/scala/com/nvidia/spark/rapids/shims
- spark411/scala
- com/nvidia/spark/rapids/shims
- org/apache/spark/sql
- execution/datasources
- parquet/rapids/shims
- v2/rapids
- rapids
- execution/python/shims
- shims
- spark412/scala/com/nvidia/spark/rapids/shims
- spark413/scala/com/nvidia/spark/rapids/shims/spark413
- test
- spark403/scala/com/nvidia/spark/rapids/shims
- spark413/scala/com/nvidia/spark/rapids/shims/spark413
- tests
- src/test
- spark330/scala
- com/nvidia/spark/rapids/shims
- org/apache/spark/sql/rapids
- metrics/source
- spark340/scala/com/nvidia/spark/rapids/shuffle
- spark341db/scala/com/nvidia/spark/rapids
- spark350/scala/org/apache/spark/sql/rapids
- spark411/scala/com/nvidia/spark/rapids
- tools/generated_files/413
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
781 | 781 | | |
782 | 782 | | |
783 | 783 | | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
| 814 | + | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
784 | 822 | | |
785 | 823 | | |
786 | 824 | | |
| |||
999 | 1037 | | |
1000 | 1038 | | |
1001 | 1039 | | |
| 1040 | + | |
1002 | 1041 | | |
1003 | 1042 | | |
1004 | 1043 | | |
| |||
1716 | 1755 | | |
1717 | 1756 | | |
1718 | 1757 | | |
1719 | | - | |
| 1758 | + | |
1720 | 1759 | | |
1721 | 1760 | | |
1722 | 1761 | | |
1723 | 1762 | | |
1724 | 1763 | | |
1725 | | - | |
1726 | | - | |
| 1764 | + | |
| 1765 | + | |
1727 | 1766 | | |
1728 | 1767 | | |
1729 | 1768 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
781 | 781 | | |
782 | 782 | | |
783 | 783 | | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
| 814 | + | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
784 | 822 | | |
785 | 823 | | |
786 | 824 | | |
| |||
999 | 1037 | | |
1000 | 1038 | | |
1001 | 1039 | | |
| 1040 | + | |
1002 | 1041 | | |
1003 | 1042 | | |
1004 | 1043 | | |
| |||
1716 | 1755 | | |
1717 | 1756 | | |
1718 | 1757 | | |
1719 | | - | |
| 1758 | + | |
1720 | 1759 | | |
1721 | 1760 | | |
1722 | 1761 | | |
1723 | 1762 | | |
1724 | 1763 | | |
1725 | | - | |
1726 | | - | |
| 1764 | + | |
| 1765 | + | |
1727 | 1766 | | |
1728 | 1767 | | |
1729 | 1768 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
111 | 134 | | |
112 | 135 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
260 | 283 | | |
261 | 284 | | |
262 | 285 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
111 | 134 | | |
112 | 135 | | |
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
0 commit comments