yihua opened a new pull request, #9253:
URL: https://github.com/apache/hudi/pull/9253
### Change Logs
This PR fixes log compaction on parquet data blocks in log files.
When parquet format is used as the log file data block format, the following
exception is thrown:
```
org.apache.hudi.exception.HoodieException: Exception when reading log file
at
org.apache.hudi.common.table.log.AbstractHoodieLogRecordReader.scanInternalV2(AbstractHoodieLogRecordReader.java:586)
~[classes/:?]
at
org.apache.hudi.common.table.log.AbstractHoodieLogRecordReader.scanInternal(AbstractHoodieLogRecordReader.java:218)
~[classes/:?]
...
Caused by: java.lang.UnsupportedOperationException: Block type not yet
supported.
at
org.apache.hudi.common.table.log.AbstractHoodieLogRecordReader.scanInternalV2(AbstractHoodieLogRecordReader.java:507)
~[classes/:?]
... 41 more
```
New tests are added to make sure log compaction works on parquet data blocks.
### Impact
Bug fixes on log compaction.
### Risk level
none
### Documentation Update
N/A
### Contributor's checklist
- [ ] Read through [contributor's
guide](https://hudi.apache.org/contribute/how-to-contribute)
- [ ] Change Logs and Impact were stated clearly
- [ ] Adequate tests were added if applicable
- [ ] CI passed
--
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]