File tree Expand file tree Collapse file tree 1 file changed +43
-6
lines changed Expand file tree Collapse file tree 1 file changed +43
-6
lines changed Original file line number Diff line number Diff line change @@ -174,14 +174,51 @@ under the License.
174174 <artifactId >s3</artifactId >
175175 </dependency >
176176 <!-- Iceberg dependencies for testing native Iceberg scan -->
177- <dependency >
178- <groupId >org.apache.iceberg</groupId >
179- <artifactId >iceberg-spark-runtime-3.5_2.12</artifactId >
180- <version >1.8.1</version >
181- <scope >test</scope >
182- </dependency >
177+ <!-- Note: The specific Iceberg artifact is defined in profiles below based on Spark version -->
183178 </dependencies >
184179
180+ <profiles >
181+ <!-- Iceberg dependencies vary by Spark version (Iceberg 1.8.1 for Spark 3.x, 1.10.0 for Spark 4.0) -->
182+ <profile >
183+ <id >spark-3.4</id >
184+ <dependencies >
185+ <dependency >
186+ <groupId >org.apache.iceberg</groupId >
187+ <artifactId >iceberg-spark-runtime-${spark.version.short}_${scala.binary.version}</artifactId >
188+ <version >1.8.1</version >
189+ <scope >test</scope >
190+ </dependency >
191+ </dependencies >
192+ </profile >
193+
194+ <profile >
195+ <id >spark-3.5</id >
196+ <activation >
197+ <activeByDefault >true</activeByDefault >
198+ </activation >
199+ <dependencies >
200+ <dependency >
201+ <groupId >org.apache.iceberg</groupId >
202+ <artifactId >iceberg-spark-runtime-${spark.version.short}_${scala.binary.version}</artifactId >
203+ <version >1.8.1</version >
204+ <scope >test</scope >
205+ </dependency >
206+ </dependencies >
207+ </profile >
208+
209+ <profile >
210+ <id >spark-4.0</id >
211+ <dependencies >
212+ <dependency >
213+ <groupId >org.apache.iceberg</groupId >
214+ <artifactId >iceberg-spark-runtime-${spark.version.short}_${scala.binary.version}</artifactId >
215+ <version >1.10.0</version >
216+ <scope >test</scope >
217+ </dependency >
218+ </dependencies >
219+ </profile >
220+ </profiles >
221+
185222 <build >
186223 <plugins >
187224 <plugin >
You can’t perform that action at this time.
0 commit comments