nsivabalan commented on code in PR #11562:
URL: https://github.com/apache/hudi/pull/11562#discussion_r1676778058


##########
hudi-common/src/main/java/org/apache/hudi/common/model/HoodieFileGroup.java:
##########
@@ -103,12 +106,30 @@ public void addBaseFile(HoodieBaseFile dataFile) {
    * Add a new log file into the group.
    */
   public void addLogFile(HoodieLogFile logFile) {
-    if (!fileSlices.containsKey(logFile.getBaseCommitTime())) {
-      fileSlices.put(logFile.getBaseCommitTime(), new FileSlice(fileGroupId, 
logFile.getBaseCommitTime()));
+    String baseInstantTime = getBaseInstantTime(logFile);

Review Comment:
   changes to accomodate for file slice determination for both 0.x and 1x log 
files.



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