yihua opened a new pull request, #10175:
URL: https://github.com/apache/hudi/pull/10175
### Change Logs
This PR fixes the bug which causes the `operationType` to be null in the
commit metadata of bulk insert operation with row writer enabled in Hudi
Streamer (`hoodie.datasource.write.row.writer.enable=true`).
`HoodieStreamerDatasetBulkInsertCommitActionExecutor` is updated so that
`#preExecute` and `#afterExecute` should run the same logic as regular bulk
insert operation without row writer.
The tests are updated to validate the logic.
Before this fix, the `operationType` is null in the commit metadata:
```
"operationType" : null
```
### Impact
Fixes the bug.
### Risk level
low
### 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]