codope commented on code in PR #9894:
URL: https://github.com/apache/hudi/pull/9894#discussion_r1631121419


##########
hudi-common/src/main/java/org/apache/hudi/common/table/HoodieTableMetaClient.java:
##########
@@ -1382,5 +1398,35 @@ public HoodieTableMetaClient 
initTable(StorageConfiguration<?> configuration, St
         throws IOException {
       return HoodieTableMetaClient.initTableAndGetMetaClient(configuration, 
basePath, build());
     }
+
+    private void validateMergeConfigs() {

Review Comment:
   Where is this method used? 



##########
hudi-common/src/main/java/org/apache/hudi/common/table/read/HoodieFileGroupReader.java:
##########
@@ -242,6 +249,11 @@ public HoodieFileGroupReaderIterator<T> 
getClosableIterator() {
     return new HoodieFileGroupReaderIterator<>(this);
   }
 
+  public static RecordMergeMode getRecordMergeMode(Properties props) {
+    String mergeMode = getStringWithAltKeys(props, 
HoodieCommonConfig.RECORD_MERGE_MODE, true).toUpperCase();

Review Comment:
   note: Setting `useDefaultValue` to true as many tests don't set record merge 
mode.



-- 
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]

Reply via email to