diff --git a/plugin/trino-hudi/pom.xml b/plugin/trino-hudi/pom.xml index 12d46ec7c4d0..ed968a22aa45 100644 --- a/plugin/trino-hudi/pom.xml +++ b/plugin/trino-hudi/pom.xml @@ -15,7 +15,7 @@ true - 0.15.0 + 1.0.0 @@ -166,6 +166,12 @@ provided + + com.github.ben-manes.caffeine + caffeine + runtime + + io.airlift log-manager 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..fc9d04ced4a6 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,9 +214,10 @@ 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()) + .setTimelineLayoutVersion(1) .setBootstrapIndexClass(NoOpBootstrapIndex.class.getName()) .setPayloadClassName(HoodieAvroPayload.class.getName()) .setRecordKeyFields(FIELD_UUID)