CTTY commented on code in PR #11761:
URL: https://github.com/apache/hudi/pull/11761#discussion_r1716129382
##########
hudi-hadoop-mr/src/main/java/org/apache/hudi/hadoop/HiveHoodieReaderContext.java:
##########
@@ -148,14 +146,27 @@ public HoodieStorage getStorage(String path,
StorageConfiguration<?> conf) {
}
@Override
- public ClosableIterator<ArrayWritable> getFileRecordIterator(StoragePath
filePath, long start, long length, Schema dataSchema, Schema requiredSchema,
HoodieStorage storage) throws IOException {
+ public ClosableIterator<ArrayWritable> getFileRecordIterator(StoragePath
filePath, long start, long length, Schema dataSchema,
+ Schema
requiredSchema, HoodieStorage storage) throws IOException {
+ return getFileRecordIterator(filePath, null, start, length, dataSchema,
requiredSchema, storage);
+ }
+
+ @Override
+ protected ClosableIterator<ArrayWritable> getFileRecordIterator(
+ StoragePathInfo storagePathInfo, long start, long length, Schema
dataSchema, Schema requiredSchema,
+ HoodieStorage storage) throws IOException {
+ return getFileRecordIterator(storagePathInfo.getPath(),
storagePathInfo.getLocations(),start, length, dataSchema, requiredSchema,
storage);
Review Comment:
```suggestion
return getFileRecordIterator(storagePathInfo.getPath(),
storagePathInfo.getLocations(), start, length, dataSchema, requiredSchema,
storage);
```
--
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]