beyond1920 opened a new pull request, #8072: URL: https://github.com/apache/hudi/pull/8072
### Change Logs Snapshot query result is wrong after apply insert overwrite to an existed table with simple bucket index. see detailed in [HUDI-5857](https://issues.apache.org/jira/browse/HUDI-5857). The root cause of the bug is the write handler reuses existed bucket file id for insert overwrite. Besides it use replace commit for insert overwrite operation and mark all the existed bucket file id as replaced. So the snapshot query result is wrong. The pr aims to fix this bug by generating new file id for bucket if insert overwrite into bucket index table. ### Impact NA ### Risk level (write none, low medium or high below) NA ### Documentation Update NA ### 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]
