You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2021/11/19 08:58:24 UTC

[GitHub] [hudi] manojpec commented on a change in pull request #4023: [HUDI-2472] Enabling metadata table for TestHoodieMergeOnReadTable and TestHoodieCompactor

manojpec commented on a change in pull request #4023:
URL: https://github.com/apache/hudi/pull/4023#discussion_r752983280



##########
File path: hudi-common/src/test/java/org/apache/hudi/common/testutils/HoodieTestTable.java
##########
@@ -131,6 +131,7 @@ protected HoodieTestTable(String basePath, FileSystem fs, HoodieTableMetaClient
     this.basePath = basePath;
     this.fs = fs;
     this.metaClient = metaClient;
+    testTableState = HoodieTestTableState.of();

Review comment:
       The other static method in this class `HoodieTestTable#of` is already setting the `testTableState`. Just that it is missing in the constructor. This `state` member is used for local book keeping of the partition files, commits, etc., Only for the test usage. 




-- 
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: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org