Skip to content
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

Silent failure on batch_delete_partition inside swap_table #463

Open
nicor88 opened this issue Oct 16, 2023 · 0 comments
Open

Silent failure on batch_delete_partition inside swap_table #463

nicor88 opened this issue Oct 16, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@nicor88
Copy link
Member

nicor88 commented Oct 16, 2023

When running the swap_table function, we call batch_delete_partition in order to reset the partitions of the table to swap.
Unfortunately, batch_delete_partition, it's a batch operation does not raise a failure, but it returns an error inside the response.

The issue can happen if the user misses batch_delete_partition and that leads to a silent error, hard to debug.

Requirements

  • collect the response error - accumulate them, and fail if we have at least one error
  • enrich docs to add more permissions in case of ha=true for hive
@nicor88 nicor88 added the bug Something isn't working label Oct 16, 2023
@nicor88 nicor88 changed the title Silent failure on batchDelete partitions inside swap_table Silent failure on batch_delete_partition inside swap_table Oct 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant