1
0

[MINOR] Remove redundant and conflicting spark-hive dependency (#4228)

Disable TestHiveSchemaProvider
This commit is contained in:
Sagar Sumit
2021-12-07 07:18:32 +05:30
committed by GitHub
parent 4a437f25d3
commit 6dab307e6f
2 changed files with 4 additions and 7 deletions

View File

@@ -233,13 +233,6 @@
<scope>provided</scope>
</dependency>
<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>

View File

@@ -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";