Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions delta-lake/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ and directory contains the corresponding support code.
| 2.3.x | Spark 3.3.x | `delta-23x` |
| 2.4.x | Spark 3.4.x | `delta-24x` |
| 3.3.x | Spark 3.5.[3-] | `delta-33x` |
| 4.0.x | Spark 4.0.x | `delta-40x` |
| Databricks 12.2 | Databricks 12.2 | `delta-spark332db` |
| Databricks 13.3 | Databricks 13.3 | `delta-spark341db` |
| Databricks 14.3 | Databricks 14.3 | `delta-spark350db143` |
Expand Down
78 changes: 78 additions & 0 deletions delta-lake/delta-40x/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2025 NVIDIA CORPORATION.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>com.nvidia</groupId>
<artifactId>rapids-4-spark-jdk-profiles_2.12</artifactId>
<version>25.12.0-SNAPSHOT</version>
<relativePath>../../jdk-profiles/pom.xml</relativePath>
</parent>

<artifactId>rapids-4-spark-delta-40x_2.12</artifactId>
<name>RAPIDS Accelerator for Apache Spark Delta Lake 4.0.x Support</name>
<version>25.12.0-SNAPSHOT</version>

<properties>
<rapids.module>../delta-lake/delta-40x</rapids.module>
<rapids.compressed.artifact>false</rapids.compressed.artifact>
<rapids.default.jar.excludePattern>**/*</rapids.default.jar.excludePattern>
<rapids.shim.jar.phase>package</rapids.shim.jar.phase>
</properties>

<dependencies>
<dependency>
<groupId>org.roaringbitmap</groupId>
<artifactId>RoaringBitmap</artifactId>
</dependency>
<dependency>
<groupId>com.nvidia</groupId>
<artifactId>rapids-4-spark-sql_${scala.binary.version}</artifactId>
<version>${project.version}</version>
<classifier>${spark.version.classifier}</classifier>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>io.delta</groupId>
<artifactId>delta-spark_${scala.binary.version}</artifactId>
<version>${delta40x.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-sql_${scala.binary.version}</artifactId>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>net.alchim31.maven</groupId>
<artifactId>scala-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>

Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
/*
* Copyright (c) 2025, NVIDIA CORPORATION.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package com.nvidia.spark.rapids.delta

import com.nvidia.spark.rapids.delta.{DeltaProbe, DeltaProvider, NoDeltaProvider}

/**
* Implements the Delta Probe interface for Delta Lake 4.0.x
* @note This is instantiated via reflection from ShimLoader
*/
class DeltaProbeImpl extends DeltaProbe {
override def getDeltaProvider: DeltaProvider = {
// TODO: Implement Delta40xProvider in a later PR
// For now, return NoDeltaProvider to allow compilation
NoDeltaProvider
}
}

5 changes: 3 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -765,11 +765,11 @@
<spark.version>${spark400.version}</spark.version>
<spark.test.version>${spark400.version}</spark.test.version>
<parquet.hadoop.version>1.13.1</parquet.hadoop.version>
<rapids.delta.artifactId1>rapids-4-spark-delta-stub</rapids.delta.artifactId1>
<rapids.delta.artifactId1>rapids-4-spark-delta-40x</rapids.delta.artifactId1>
<slf4j.version>2.0.7</slf4j.version>
</properties>
<modules>
<module>delta-lake/delta-stub</module>
<module>delta-lake/delta-40x</module>
</modules>
</profile>
<profile>
Expand Down Expand Up @@ -890,6 +890,7 @@

<properties>
<delta33x.version>3.3.0</delta33x.version>
<delta40x.version>4.0.0</delta40x.version>
<!-- start dyn.shim properties -->
<!-- TODO: Will remove 330db from the execluding list after the issue is fixed: https://github.com/NVIDIA/spark-rapids/issues/12694 -->
<dyn.shim.excluded.releases>330db</dyn.shim.excluded.releases>
Expand Down
78 changes: 78 additions & 0 deletions scala2.13/delta-lake/delta-40x/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2025 NVIDIA CORPORATION.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>com.nvidia</groupId>
<artifactId>rapids-4-spark-jdk-profiles_2.13</artifactId>
<version>25.12.0-SNAPSHOT</version>
<relativePath>../../jdk-profiles/pom.xml</relativePath>
</parent>

<artifactId>rapids-4-spark-delta-40x_2.13</artifactId>
<name>RAPIDS Accelerator for Apache Spark Delta Lake 4.0.x Support</name>
<version>25.12.0-SNAPSHOT</version>

<properties>
<rapids.module>../delta-lake/delta-40x</rapids.module>
<rapids.compressed.artifact>false</rapids.compressed.artifact>
<rapids.default.jar.excludePattern>**/*</rapids.default.jar.excludePattern>
<rapids.shim.jar.phase>package</rapids.shim.jar.phase>
</properties>

<dependencies>
<dependency>
<groupId>org.roaringbitmap</groupId>
<artifactId>RoaringBitmap</artifactId>
</dependency>
<dependency>
<groupId>com.nvidia</groupId>
<artifactId>rapids-4-spark-sql_${scala.binary.version}</artifactId>
<version>${project.version}</version>
<classifier>${spark.version.classifier}</classifier>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>io.delta</groupId>
<artifactId>delta-spark_${scala.binary.version}</artifactId>
<version>${delta40x.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-sql_${scala.binary.version}</artifactId>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>net.alchim31.maven</groupId>
<artifactId>scala-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>

5 changes: 3 additions & 2 deletions scala2.13/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -765,11 +765,11 @@
<spark.version>${spark400.version}</spark.version>
<spark.test.version>${spark400.version}</spark.test.version>
<parquet.hadoop.version>1.13.1</parquet.hadoop.version>
<rapids.delta.artifactId1>rapids-4-spark-delta-stub</rapids.delta.artifactId1>
<rapids.delta.artifactId1>rapids-4-spark-delta-40x</rapids.delta.artifactId1>
<slf4j.version>2.0.7</slf4j.version>
</properties>
<modules>
<module>delta-lake/delta-stub</module>
<module>delta-lake/delta-40x</module>
</modules>
</profile>
<profile>
Expand Down Expand Up @@ -890,6 +890,7 @@

<properties>
<delta33x.version>3.3.0</delta33x.version>
<delta40x.version>4.0.0</delta40x.version>
<!-- start dyn.shim properties -->
<!-- TODO: Will remove 330db from the execluding list after the issue is fixed: https://github.com/NVIDIA/spark-rapids/issues/12694 -->
<dyn.shim.excluded.releases>330db</dyn.shim.excluded.releases>
Expand Down
Loading