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


##########
hudi-common/src/main/java/org/apache/hudi/common/model/HoodieFileGroup.java:
##########
@@ -119,6 +121,10 @@ public void addLogFile(CompletionTimeQueryView 
completionTimeQueryView, HoodieLo
   @VisibleForTesting
   public String getBaseInstantTime(CompletionTimeQueryView 
completionTimeQueryView, HoodieLogFile logFile) {
     if (fileSlices.isEmpty()) {
+      if 
(completionTimeQueryView.getTableVersion().greaterThanOrEquals(HoodieTableVersion.EIGHT))
 {
+        // no base file in the file group, use INITIAL INSTANT TIME as base 
instant time
+        return HoodieActiveTimeline.INIT_INSTANT_TS;

Review Comment:
   Looks like a version compatibility issue?



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