wecharyu opened a new pull request, #4905: URL: https://github.com/apache/hive/pull/4905
### What changes were proposed in this pull request? 1. Determine there are missing partitions for single partition expression 2. Fail-fast if one partition expression does not match any partitions ### Why are the changes needed? Fix the missing partitions bug in `drop_partition_req` api. For example, assuming that we have a table tbl with partition names: ```bash dt=20231129/hr=10 dt=20231129/hr=11 ``` Then we try to drop partitions by sql: ```sql alter table tbl drop partition (dt='20231129'), partition (dt='20231130'); ``` It should throw `NoSuchObjectException` because filter dt='20231130' can not match any partitions. ### Does this PR introduce _any_ user-facing change? No. ### Is the change a dependency upgrade? No. ### How was this patch tested? Add a UT. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
