nicochen opened a new issue, #3684: URL: https://github.com/apache/amoro/issues/3684
### What happened? For a mixed hive unpartitioned table, the commit operation would create a unused new folder and a .keep file in hive path if no new add data are expexted to be written into hive path. The operation seems meaningless and it won't not be cleand by maintance thread. https://github.com/apache/amoro/blob/aa379e276055ea4faa9b18d0da60b4525af9fe64/amoro-format-mixed/amoro-mixed-hive/src/main/java/org/apache/amoro/hive/op/UpdateHiveFiles.java#L155C3-L160C6 ### Affects Versions master ### What table formats are you seeing the problem on? Mixed-Hive ### What engines are you seeing the problem on? Optimizer ### How to reproduce Creating an optimization for an unpartitioned table triggers the problem. ### Relevant log output ```shell ``` ### Anything else _No response_ ### Are you willing to submit a PR? - [x] Yes I am willing to submit a PR! ### Code of Conduct - [x] I agree to follow this project's Code of Conduct -- 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]
