voonhous commented on issue #13923:
URL: https://github.com/apache/hudi/issues/13923#issuecomment-3311118723
Two areas that i have identified that are problematic for now:
First:
**HoodieAvroReaderContext.java**
```java
HoodieAvroReaderContext#getFileRecordIterator:
reader = (HoodieAvroFileReader) HoodieIOFactory.getIOFactory(storage)
.getReaderFactory(HoodieRecord.HoodieRecordType.AVRO).getFileReader(new
HoodieConfig(),
filePath, fileFormat, Option.empty());
```
Second:
**HoodieBaseRelation.scala**
```scala
val hoodieConfig = new HoodieConfig()
hoodieConfig.setValue(USE_NATIVE_HFILE_READER,
options.getOrElse(USE_NATIVE_HFILE_READER.key(),
USE_NATIVE_HFILE_READER.defaultValue().toString))
val reader = new HoodieSparkIOFactory(...)
.getReaderFactory(HoodieRecordType.AVRO)
.getFileReader(hoodieConfig, filePath, HFILE)
```
--
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]