yihua commented on code in PR #13927:
URL: https://github.com/apache/hudi/pull/13927#discussion_r2366488399


##########
hudi-common/src/main/java/org/apache/hudi/avro/HoodieAvroReaderContext.java:
##########
@@ -152,7 +172,7 @@ public ClosableIterator<IndexedRecord> 
getFileRecordIterator(
     } else {
       HoodieFileFormat fileFormat = isMultiFormat && !isLogFile ? 
HoodieFileFormat.fromFileExtension(filePath.getFileExtension()) : 
baseFileFormat;
       reader = (HoodieAvroFileReader) HoodieIOFactory.getIOFactory(storage)
-          
.getReaderFactory(HoodieRecord.HoodieRecordType.AVRO).getFileReader(new 
HoodieConfig(),
+          
.getReaderFactory(HoodieRecord.HoodieRecordType.AVRO).getFileReader(hoodieConfig,

Review Comment:
   A side point is that we should remove 
`HoodieReaderConfig.USE_NATIVE_HFILE_READER` config given that there is no 
longer HBase HFile reader to fallback cc @linliu-code 



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