Zouxxyy commented on code in PR #9164:
URL: https://github.com/apache/hudi/pull/9164#discussion_r1271371023


##########
hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/table/action/bootstrap/SparkBootstrapCommitActionExecutor.java:
##########
@@ -320,18 +314,8 @@ private Map<BootstrapMode, List<Pair<String, 
List<HoodieFileStatus>>>> listAndPr
     BootstrapModeSelector selector =
         (BootstrapModeSelector) 
ReflectionUtils.loadClass(config.getBootstrapModeSelectorClass(), config);
 
-    Map<BootstrapMode, List<String>> result = new HashMap<>();
-    // for FULL_RECORD mode, original record along with metadata fields are 
needed
-    if (FULL_RECORD.equals(config.getBootstrapModeForRegexMatch())) {

Review Comment:
   @codope Here we don't need to do any extra conversion, because FULL_RECORD 
is configured when using `BootstrapRegexModeSelector`



-- 
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-unsubscr...@hudi.apache.org

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

Reply via email to