danny0405 commented on code in PR #13408:
URL: https://github.com/apache/hudi/pull/13408#discussion_r2136729018
##########
hudi-common/src/main/java/org/apache/hudi/common/table/read/HoodieFileGroupReader.java:
##########
@@ -334,6 +334,8 @@ public HoodieReadStats getStats() {
*/
T next() {
T nextVal = recordBuffer == null ? baseFileIterator.next() :
recordBuffer.next();
+ Schema requiredSchema =
readerContext.getSchemaHandler().getRequiredSchema();
+ nextVal = readerContext.fromBinaryRow(requiredSchema, nextVal);
Review Comment:
why we pass around the required schema here as long as the reader context
already holds it.
--
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]