bvaradar commented on code in PR #10318:
URL: https://github.com/apache/hudi/pull/10318#discussion_r1430909150


##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/io/HoodieMergedReadHandle.java:
##########
@@ -143,7 +145,7 @@ private List<HoodieRecord<T>> 
doMergedRead(Option<HoodieFileReader> baseFileRead
     if (baseFileReaderOpt.isPresent()) {
       HoodieFileReader baseFileReader = baseFileReaderOpt.get();
       HoodieRecordMerger recordMerger = config.getRecordMerger();
-      ClosableIterator<HoodieRecord<T>> baseFileItr = 
baseFileReader.getRecordIterator(readerSchema);
+      ClosableIterator<HoodieRecord<T>> baseFileItr = 
baseFileReader.getRecordIterator(baseFileReaderSchema);

Review Comment:
   @nsivabalan : Wouldn't this cause more columns to be read which is not used 
for merging ? 



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