This is an automated email from the ASF dual-hosted git repository.

xushiyan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hudi.git


The following commit(s) were added to refs/heads/master by this push:
     new 6dab307  [MINOR] Remove redundant and conflicting spark-hive 
dependency (#4228)
6dab307 is described below

commit 6dab307e6f9aa3dd9582f0240430dd86de83624c
Author: Sagar Sumit <[email protected]>
AuthorDate: Tue Dec 7 07:18:32 2021 +0530

    [MINOR] Remove redundant and conflicting spark-hive dependency (#4228)
    
    Disable TestHiveSchemaProvider
---
 hudi-utilities/pom.xml                                             | 7 -------
 .../apache/hudi/utilities/functional/TestHiveSchemaProvider.java   | 4 ++++
 2 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/hudi-utilities/pom.xml b/hudi-utilities/pom.xml
index a487125..2e68039 100644
--- a/hudi-utilities/pom.xml
+++ b/hudi-utilities/pom.xml
@@ -235,13 +235,6 @@
 
     <dependency>
       <groupId>org.apache.spark</groupId>
-      <artifactId>spark-hive_${scala.binary.version}</artifactId>
-      <version>${spark.version}</version>
-      <scope>test</scope>
-    </dependency>
-
-    <dependency>
-      <groupId>org.apache.spark</groupId>
       <artifactId>spark-streaming_${scala.binary.version}</artifactId>
       <version>${spark.version}</version>
     </dependency>
diff --git 
a/hudi-utilities/src/test/java/org/apache/hudi/utilities/functional/TestHiveSchemaProvider.java
 
b/hudi-utilities/src/test/java/org/apache/hudi/utilities/functional/TestHiveSchemaProvider.java
index 414ad52..7c2dd0c 100644
--- 
a/hudi-utilities/src/test/java/org/apache/hudi/utilities/functional/TestHiveSchemaProvider.java
+++ 
b/hudi-utilities/src/test/java/org/apache/hudi/utilities/functional/TestHiveSchemaProvider.java
@@ -33,6 +33,7 @@ import org.apache.spark.sql.SparkSession;
 import org.apache.spark.sql.catalyst.analysis.NoSuchTableException;
 import org.junit.jupiter.api.Assertions;
 import org.junit.jupiter.api.BeforeAll;
+import org.junit.jupiter.api.Disabled;
 import org.junit.jupiter.api.Tag;
 import org.junit.jupiter.api.Test;
 
@@ -57,6 +58,7 @@ public class TestHiveSchemaProvider extends 
SparkClientFunctionalTestHarnessWith
     
PROPS.setProperty("hoodie.deltastreamer.schemaprovider.source.schema.hive.table",
 dbAndTableName.getRight());
   }
 
+  @Disabled
   @Test
   public void testSourceSchema() throws Exception {
     try {
@@ -76,6 +78,7 @@ public class TestHiveSchemaProvider extends 
SparkClientFunctionalTestHarnessWith
     }
   }
 
+  @Disabled
   @Test
   public void testTargetSchema() throws Exception {
     try {
@@ -97,6 +100,7 @@ public class TestHiveSchemaProvider extends 
SparkClientFunctionalTestHarnessWith
     }
   }
 
+  @Disabled
   @Test
   public void testNotExistTable() {
     String wrongName = "wrong_schema_tab";

Reply via email to