YannByron commented on code in PR #6476:
URL: https://github.com/apache/hudi/pull/6476#discussion_r963015866


##########
hudi-common/src/main/java/org/apache/hudi/common/model/HoodieCommitMetadata.java:
##########
@@ -236,6 +241,43 @@ public static <T> T fromJsonString(String jsonStr, 
Class<T> clazz) throws Except
     return JsonUtils.getObjectMapper().readValue(jsonStr, clazz);
   }
 
+  /**
+   * parse the bytes of deltacommit, and get the base file and the log files 
belonging to this
+   * provided file group.
+   */
+  public static Option<Pair<String, List<String>>> 
getFileSliceForFileGroupFromDeltaCommit(

Review Comment:
   you're right  that maybe need to adapt manually when evolve 
HoodieCommitMetadata.
   I have tried to use some simple changed to achieve this, but i failed. 
another reply about this: 
https://github.com/apache/hudi/pull/5885#discussion_r925112104
   so can we use another ticket to trace this? 



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