danny0405 commented on code in PR #18894:
URL: https://github.com/apache/hudi/pull/18894#discussion_r3353012048


##########
hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/configuration/OptionsResolver.java:
##########
@@ -232,6 +236,30 @@ public static boolean 
isGlobalRecordLevelIndex(Configuration conf) {
     return indexType == HoodieIndex.IndexType.GLOBAL_RECORD_LEVEL_INDEX;
   }
 
+  /**
+   * Estimates the file group count to use for RLI partition of a new table.
+   */
+  public static int estimateFileGroupCountForRLI(Configuration conf) {
+    HoodieWriteConfig writeConfig = 
FlinkWriteClients.getHoodieClientConfig(conf);

Review Comment:
   there is no need to construct the write config, just fetch through `conf` 
should be fine



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