YuweiXiao opened a new pull request #4540: URL: https://github.com/apache/hudi/pull/4540
## *Tips* - *Thank you very much for contributing to Apache Hudi.* - *Please review https://hudi.apache.org/contribute/how-to-contribute before opening a pull request.* ## What is the purpose of the pull request Fix MOR snapshot query path during compaction for HIVE read. In current implementation, if a write comes in and complete during compaction, it will not be visible to snapshot query until the compaction completes. This is caused by filter logic of getting file group's log files. ## Brief change log - Modify the file group retrieval logic in MOR snapshot query path, i.e., `HoodieInputFormatUtils::filterFileStatusForSnapshotMode` ## Verify this pull request This change added tests and can be verified as follows: - Add functional test about snapshot query during compaction. ## Committer checklist - [x] Has a corresponding JIRA in PR title & commit - [x] Commit message is descriptive of the change - [ ] CI is green - [ ] Necessary doc changes done or have another open PR - [ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA. -- 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: commits-unsubscr...@hudi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org