Skip to content

Commit f18a53f

Browse files
Merge branch 'main' into ray/15323
2 parents 8048550 + 5bcbe68 commit f18a53f

381 files changed

Lines changed: 3519 additions & 6693 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ spark-rapids-shim-json-lines ***/
113113
- When modifying a shim, update ALL related Spark version shims
114114
(the same logical change may need different adaptations per
115115
version — do not blindly copy-paste).
116-
- `db` suffix (e.g., `330db`, `341db`) = Databricks-specific shim.
116+
- `db` suffix (e.g., `330db`, `350db143`) = Databricks-specific shim.
117117
- **Scala 2.12 vs 2.13**: `sql-plugin` shims work identically for
118118
both Scala versions. After modifying any `pom.xml`, run
119119
`./build/make-scala-version-build-files.sh 2.13` to sync.

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,12 +252,12 @@ The following acronyms may appear in directory names:
252252
253253
|Acronym|Definition |Example|Example Explanation |
254254
|-------|------------|-------|----------------------------------------------|
255-
|db |Databricks |341db |Databricks Spark based on Spark 3.4.1 |
255+
|db |Databricks |350db143|Databricks Spark based on Spark 3.5.0 |
256256
|cdh |Cloudera CDH|(removed)|Cloudera CDH shims have been removed |
257257
258258
The version-specific directory names have one of the following forms / use cases:
259259
260-
* `src/main/spark${buildver}`, example: `src/main/spark341db`
260+
* `src/main/spark${buildver}`, example: `src/main/spark350db143`
261261
* `src/test/spark${buildver}`, example: `src/test/spark340`
262262
263263
with a special shim descriptor as a Scala/Java comment. See [shimplify.md][1]

datagen/src/main/spark330/scala/org/apache/spark/sql/tests/datagen/DataGenExprShims.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
{"spark": "334"}
2525
{"spark": "340"}
2626
{"spark": "341"}
27-
{"spark": "341db"}
2827
{"spark": "342"}
2928
{"spark": "343"}
3029
{"spark": "344"}

datagen/src/main/spark400/scala/org/apache/spark/sql/tests/datagen/DataGenExprShims.scala

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,13 @@
2020
{"spark": "401"}
2121
{"spark": "402"}
2222
{"spark": "403"}
23+
{"spark": "404"}
2324
{"spark": "411"}
2425
{"spark": "412"}
2526
{"spark": "413"}
2627
{"spark": "420"}
2728
spark-rapids-shim-json-lines ***/
29+
2830
package org.apache.spark.sql.tests.datagen
2931

3032
import org.apache.spark.sql.Column

delta-lake/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ and directory contains the corresponding support code.
1919
| 3.3.x | Spark 3.5.[3-] | `delta-33x` |
2020
| 4.0.x | Spark 4.0.x | `delta-40x` |
2121
| 4.1.x | Spark 4.1.x | `delta-41x` |
22-
| Databricks 13.3 | Databricks 13.3 | `delta-spark341db` |
2322
| Databricks 14.3 | Databricks 14.3 | `delta-spark350db143` |
2423

2524

delta-lake/common/src/main/databricks/scala/com/nvidia/spark/rapids/delta/DatabricksDeltaProviderBase.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ trait DatabricksDeltaProviderBase extends DeltaProviderImplBase {
116116
}
117117

118118
private def getWriteOptions(options: Any): Map[String, String] = {
119-
// For Databricks 13.3 AtomicCreateTableAsSelectExec writeOptions is a Map[String, String]
120-
// while in all the other versions it's a CaseInsensitiveMap
119+
// Databricks 14.3 writeOptions is a Map[String, String], while newer supported
120+
// Databricks runtimes use CaseInsensitiveStringMap.
121121
options match {
122122
case c: CaseInsensitiveStringMap => c.asCaseSensitiveMap().asScala.toMap
123123
case _ => options.asInstanceOf[Map[String, String]]

delta-lake/delta-spark341db/pom.xml

Lines changed: 0 additions & 83 deletions
This file was deleted.

0 commit comments

Comments
 (0)