linliu-code commented on code in PR #13300:
URL: https://github.com/apache/hudi/pull/13300#discussion_r2104585888
##########
hudi-common/src/main/java/org/apache/hudi/common/table/read/HoodieFileGroupReader.java:
##########
@@ -292,17 +298,21 @@ private Option<Pair<ClosableIterator<T>, Schema>>
makeBootstrapBaseFileIteratorH
StoragePathInfo fileStoragePathInfo = file.getPathInfo();
if (fileStoragePathInfo != null) {
return
Option.of(Pair.of(readerContext.getFileRecordIterator(fileStoragePathInfo, 0,
file.getFileLen(),
- readerContext.getSchemaHandler().createSchemaFromFields(allFields),
requiredSchema, storage), requiredSchema));
+ readerContext.getSchemaHandler().createSchemaFromFields(allFields),
requiredSchema, storage, filter), requiredSchema));
} else {
// If the base file length passed in is invalid, i.e., -1,
// the file group reader fetches the length from the file system
long fileLength = file.getFileLen() >= 0
? file.getFileLen() :
storage.getPathInfo(file.getStoragePath()).getLength();
return
Option.of(Pair.of(readerContext.getFileRecordIterator(file.getStoragePath(), 0,
fileLength,
- readerContext.getSchemaHandler().createSchemaFromFields(allFields),
requiredSchema, storage), requiredSchema));
+ readerContext.getSchemaHandler().createSchemaFromFields(allFields),
requiredSchema, storage, filter), requiredSchema));
}
}
+ public void setInstantRange(Option<InstantRange> instantRange) {
Review Comment:
Done.
--
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]