From 8e3d85ab6fe773d35cd1e74be0a8bd29a84ab37d Mon Sep 17 00:00:00 2001 From: Yuya Ebihara Date: Wed, 11 Dec 2024 20:23:48 +0900 Subject: [PATCH] Update Hudi library to 1.0.0 --- plugin/trino-hudi/pom.xml | 2 +- .../io/trino/plugin/hudi/testing/TpchHudiTablesInitializer.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/trino-hudi/pom.xml b/plugin/trino-hudi/pom.xml index 12d46ec7c4d0..64f27e21b903 100644 --- a/plugin/trino-hudi/pom.xml +++ b/plugin/trino-hudi/pom.xml @@ -15,7 +15,7 @@ true - 0.15.0 + 1.0.0 diff --git a/plugin/trino-hudi/src/test/java/io/trino/plugin/hudi/testing/TpchHudiTablesInitializer.java b/plugin/trino-hudi/src/test/java/io/trino/plugin/hudi/testing/TpchHudiTablesInitializer.java index 9ffb7b0f800d..2680625ea4b3 100644 --- a/plugin/trino-hudi/src/test/java/io/trino/plugin/hudi/testing/TpchHudiTablesInitializer.java +++ b/plugin/trino-hudi/src/test/java/io/trino/plugin/hudi/testing/TpchHudiTablesInitializer.java @@ -214,7 +214,7 @@ private static HoodieJavaWriteClient createWriteClient(TpchTa StorageConfiguration conf = new HadoopStorageConfiguration(hdfsEnvironment.getConfiguration(CONTEXT, tablePath)); try { - HoodieTableMetaClient.withPropertyBuilder() + HoodieTableMetaClient.newTableBuilder() .setTableType(COPY_ON_WRITE) .setTableName(table.getTableName()) .setBootstrapIndexClass(NoOpBootstrapIndex.class.getName())