World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.
Java ai-catalogdata-catalogdatalakefederated-querylakehousemetadatametalakemodel-catalogopendatacatalogskycomputingstratosphere
[#3293] feat(spark-connector): update kyuubi to 1.8.2 (#3304)
FANNGa905c0c58f02
diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.tomlindex c581d27a1c..c782186f44 100644--- a/gradle/libs.versions.toml+++ b/gradle/libs.versions.toml@@ -49,7 +49,7 @@ selenium = "3.141.59"rauschig = "1.2.0"mybatis = "3.5.6"h2db = "1.4.200"-kyuubi = "1.8.0"+kyuubi = "1.8.2"kafka = "3.4.0"curator = "2.12.0"awaitility = "4.2.1"diff --git a/integration-test/src/test/java/com/datastrato/gravitino/integration/test/spark/hive/SparkHiveCatalogIT.java b/integration-test/src/test/java/com/datastrato/gravitino/integration/test/spark/hive/SparkHiveCatalogIT.javaindex 1f34c87c10..9e0b8291df 100644--- a/integration-test/src/test/java/com/datastrato/gravitino/integration/test/spark/hive/SparkHiveCatalogIT.java+++ b/integration-test/src/test/java/com/datastrato/gravitino/integration/test/spark/hive/SparkHiveCatalogIT.java@@ -23,6 +23,8 @@ import org.junit.jupiter.api.Assertions;import org.junit.jupiter.api.Tag;import org.junit.jupiter.api.Test;import org.junit.jupiter.api.TestInstance;+import org.junit.jupiter.params.ParameterizedTest;+import org.junit.jupiter.params.provider.ValueSource;@Tag("gravitino-docker-it")@TestInstance(TestInstance.Lifecycle.PER_CLASS)@@ -56,7 +58,7 @@ public class SparkHiveCatalogIT extends SparkCommonIT {}@Test- public void testCreateHiveFormatPartitionTable() {+ void testCreateHiveFormatPartitionTable() {String tableName = "hive_partition_table";dropTableIfExists(tableName);@@ -80,8 +82,9 @@ public class SparkHiveCatalogIT extends SparkCommonIT {checkPartitionDirExists(tableInfo);}- @Test- public void testWriteHiveDynamicPartition() {+ @ParameterizedTest+ @ValueSource(booleans = {true, false})+ void testWriteHiveDynamicPartition(boolean isInsertOverWrite) {String tableName = "hive_dynamic_partition_table";dropTableIfExists(tableName);@@ -94,7 +97,8 @@ public class SparkHiveCatalogIT extends SparkCommonIT {// write data to dynamic partitionString insertData =String.format(- "INSERT OVERWRITE %s PARTITION(age_p1=1, age_p2) values(1,'a',3,'b');", tableName);+ "INSERT %s %s PARTITION(age_p1=1, age_p2) values(1,'a',3,'b');",+ isInsertOverWrite ? "OVERWRITE" : "INTO", tableName);sql(insertData);List<String> queryResult = getTableData(tableName);Assertions.assertTrue(queryResult.size() == 1);@@ -106,7 +110,7 @@ public class SparkHiveCatalogIT extends SparkCommonIT {}@Test- public void testInsertHiveFormatPartitionTableAsSelect() {+ void testInsertHiveFormatPartitionTableAsSelect() {String tableName = "insert_hive_partition_table";String newTableName = "new_" + tableName;