File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
sql/hive/src/test/scala/org/apache/spark/sql/hive/execution Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -1224,10 +1224,12 @@ class HiveQuerySuite extends HiveComparisonTest with SQLTestUtils with BeforeAnd
12241224 test(" SPARK-33084: Add jar support Ivy URI in SQL" ) {
12251225 val testData = TestHive .getHiveFile(" data/files/sample.json" ).toURI
12261226 withTable(" t" ) {
1227- // exclude org.pentaho:pentaho-aggdesigner-algorithm as this transitive dependency does
1228- // not exist on mavencentral and hence cannot be found in the test environment
1227+ // hive-catalog-core has some transitive dependencies which dont exist on maven central
1228+ // and hence cannot be found in the test environment or are non-jar (.pom) which cause
1229+ // failures in tests. Use transitive=false as it should be good enough to test the Ivy
1230+ // support in Hive ADD JAR
12291231 sql(s " ADD JAR ivy://org.apache.hive.hcatalog:hive-hcatalog-core: $hiveVersion" +
1230- " ?exclude=org.pentaho:pentaho-aggdesigner-algorithm " )
1232+ " ?transitive=false " )
12311233 sql(
12321234 """ CREATE TABLE t(a string, b string)
12331235 |ROW FORMAT SERDE 'org.apache.hive.hcatalog.data.JsonSerDe'""" .stripMargin)
You can’t perform that action at this time.
0 commit comments