danny0405 commented on code in PR #6066:
URL: https://github.com/apache/hudi/pull/6066#discussion_r924135720
##########
hudi-flink-datasource/hudi-flink/src/test/java/org/apache/hudi/utils/TestCompactionUtil.java:
##########
@@ -77,6 +78,11 @@ void beforeEach(Map<String, String> options) throws
IOException {
this.table = FlinkTables.createTable(conf);
this.metaClient = table.getMetaClient();
+ // initialize the metadata table path
+ if (conf.getBoolean(FlinkOptions.METADATA_ENABLED)) {
+ FlinkHoodieBackedTableMetadataWriter.create(table.getHadoopConf(),
table.getConfig(),
+ table.getContext(), Option.empty(), Option.empty());
+ }
Review Comment:
This is only for the test.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]