jonvex commented on code in PR #11789:
URL: https://github.com/apache/hudi/pull/11789#discussion_r1744266404


##########
hudi-common/src/main/java/org/apache/hudi/common/table/read/HoodieFileGroupReader.java:
##########
@@ -109,6 +109,9 @@ public HoodieFileGroupReader(HoodieReaderContext<T> 
readerContext,
     readerContext.setLatestCommitTime(latestCommitTime);
     readerContext.setShouldMergeUseRecordPosition(shouldUseRecordPosition);
     readerContext.setHasLogFiles(!this.logFiles.isEmpty());
+    if (readerContext.getHasLogFiles() && start != 0) {
+      throw new IllegalArgumentException("Filegroup reader is doing log file 
merge but not reading from the start of the base file");

Review Comment:
   For the log file one it is easy. For bootstrap it is hard



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