-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SUPPORT] DELETE_PARTITION causes AWS Athena Query failure #6024
Comments
@Gatsby-Lee You mentioned
What exception did you get? I ran a test locally and tried to delete a non-existing partition. The |
Btw, |
@codope hi, First, as of 0.11.x, DELETE_PARTITION ( in AWS Glue Catalog ) doesn't fail or raise exception. ( It's different from 0.10.x ) I will try to replicate the issue with 0.11.1 and post the output here. |
@Gatsby-Lee Thanks for the info. I will wait for more updates from you after testing with 0.11.1. However, I can think of one thing which we can improve. Before executing the delete_partition command, we can check for whether the partition exists or not, log a warning if it does not and return early without doing any kind of modification. HUDI-4591 to track this. |
@Gatsby-Lee : any updates here please. |
@Gatsby-Lee Gentle reminder. Can we close this issue? |
Hi, let's close issue if I am the only one facing the issue. Let me write more details before I forget. A couple of months ago, I tried DELETE_PARTITION operation with 0.10.1 and 0.11.0
I wasn't able to use 0.11.0 because it has a compatibility issue in AWS Glue. ( it was related to AWS Glue Catalog ) I ended up using 0.10.1 + a patch that fixed the ZookeeperLockProvider ( available on 0.11.1 ) I will test with 0.11.1 and reopen this ticket if I still notice the similar issue. Thank you |
@Gatsby-Lee Thanks and I have noted your point. Would you mind upstreaming your fix (logic that checks if the target partition exists). I believe this would be helpful for other users as well. If so, please assign HUDI-4591 to yourself. |
Describe the problem you faced
A clear and concise description of the problem.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
org_id=55555 MUST not be registered to Catalog
Environment Description
The text was updated successfully, but these errors were encountered: