loukey-lj opened a new pull request, #5653: URL: https://github.com/apache/hudi/pull/5653
## *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 Suppose there are two no intersection batches of data written to a new hudi mor no partition table in turn by flink. Hooide timeline and log file as follows: hdfs dfs -ls hdfs://xxx/mor_test/.hoodie 0 2022-05-21 16:41 hdfs://xxx/mor_test/.hoodie/.aux 0 2022-05-21 16:41 hdfs://xxx/mor_test/.hoodie/.schema 0 2022-05-21 16:42 hdfs://xxx/mor_test/.hoodie/.temp 5291 2022-05-21 16:42 hdfs://xxx/mor_test/.hoodie/20220521164201245.deltacommit 0 2022-05-21 16:42 hdfs://xxx/mor_test/.hoodie/20220521164201245.deltacommit.inflight 0 2022-05-21 16:42 hdfs://xxx/mor_test/.hoodie/20220521164201245.deltacommit.requested 5291 2022-05-21 16:42 hdfs://xxx/mor_test/.hoodie/20220521164214473.deltacommit 0 2022-05-21 16:42 hdfs://xxx/mor_test/.hoodie/20220521164214473.deltacommit.inflight 0 2022-05-21 16:42 hdfs://xxx/mor_test/.hoodie/20220521164214473.deltacommit.requested 0 2022-05-21 16:41 hdfs://xxx/mor_test/.hoodie/archived 798 2022-05-21 16:41 hdfs://xxx/mor_test/.hoodie/hoodie.properties hdfs dfs -ls hdfs://xxx/mor_test/ 13316 2022-05-21 16:42 hdfs://xxx/mor_test/.00000000-1dd6-4395-9c90-53f8a6c6eed3_20220521164201245.log.1_0-2-0 28395 2022-05-21 16:42 hdfs://xxx/mor_test/.00000000-1dd6-4395-9c90-53f8a6c6eed3_20220521164214473.log.1_0-2-0 0 2022-05-21 16:42 hdfs://xxx/mor_test/.hoodie 100 2022-05-21 16:42 hdfs://xxx/mor_test/.hoodie_partition_metadata Use spark snapshot query execute such sql 'select distinct _hoodie_commit_time from mor_test_rt' Expected results is 20220521164201245 and 20220521164214473, but actual results is 20220521164214473. ## Brief change log *(for example:)* - *Modify AnnotationLocation checkstyle rule in checkstyle.xml* ## Verify this pull request *(Please pick either of the following options)* This pull request is a trivial rework / code cleanup without any test coverage. *(or)* This pull request is already covered by existing tests, such as *(please describe tests)*. (or) This change added tests and can be verified as follows: *(example:)* - *Added integration tests for end-to-end.* - *Added HoodieClientWriteTest to verify the change.* - *Manually verified the change by running a job locally.* ## Committer checklist - [ ] Has a corresponding JIRA in PR title & commit - [ ] 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
