linliu-code commented on code in PR #17601:
URL: https://github.com/apache/hudi/pull/17601#discussion_r2743081569
##########
hudi-common/src/main/java/org/apache/hudi/common/table/log/block/HoodieAvroDataBlock.java:
##########
@@ -143,7 +144,7 @@ protected <T> ClosableIterator<HoodieRecord<T>>
deserializeRecords(byte[] conten
checkState(this.readerSchema != null, "Reader's schema has to be
non-null");
checkArgument(type != HoodieRecordType.SPARK, "Not support read avro to
spark record");
// TODO AvroSparkReader need
- RecordIterator iterator = RecordIterator.getInstance(this, content);
+ RecordIterator iterator = RecordIterator.getInstance(this, content, true);
Review Comment:
Done; now the parameter is decided in the AbstractHoodieLogRecordReader, and
pass it here.
--
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]