-
Notifications
You must be signed in to change notification settings - Fork 337
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#3396] feat(spark-connector): remove iceberg runtime from spark-conn…
…ector jar (#3553) ### What changes were proposed in this pull request? remove iceberg runtime from spark-connector jar ### Why are the changes needed? Fix: #3396 ### Does this PR introduce _any_ user-facing change? yes add document ### How was this patch tested? set `enableIcebergSupport` == true, could use Iceberg catalog with extra iceberg-runtime jars. had tested iceberg 1.4,1.3,1.5 jars not set `enableIcebergSupport`, could only use hive catalog. Co-authored-by: FANNG <[email protected]>
- Loading branch information
Showing
7 changed files
with
57 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
.../test/java/com/datastrato/gravitino/spark/connector/plugin/TestGravitinoDriverPlugin.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/* | ||
* Copyright 2024 Datastrato Pvt Ltd. | ||
* This software is licensed under the Apache License version 2. | ||
*/ | ||
|
||
package com.datastrato.gravitino.spark.connector.plugin; | ||
|
||
import org.apache.iceberg.spark.extensions.IcebergSparkSessionExtensions; | ||
import org.junit.jupiter.api.Assertions; | ||
import org.junit.jupiter.api.Test; | ||
|
||
public class TestGravitinoDriverPlugin { | ||
|
||
@Test | ||
void testIcebergExtensionName() { | ||
Assertions.assertEquals( | ||
IcebergSparkSessionExtensions.class.getName(), | ||
GravitinoDriverPlugin.ICEBERG_SPARK_EXTENSIONS); | ||
} | ||
} |