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

Add a revert option for 'failed' STORAGE_MIGRATION tasks #45

Open
dstreev opened this issue Apr 26, 2023 · 1 comment
Open

Add a revert option for 'failed' STORAGE_MIGRATION tasks #45

dstreev opened this issue Apr 26, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@dstreev
Copy link
Collaborator

dstreev commented Apr 26, 2023

If there's an issue migrating the data with STORAGE_MIGRATION 'after' the table has been 'renamed', we need to provide a restore script that will reset the table names back to the original.

@dstreev dstreev added the bug Something isn't working label Apr 26, 2023
@dstreev dstreev self-assigned this Apr 26, 2023
@dstreev
Copy link
Collaborator Author

dstreev commented Apr 26, 2023

A case when this happens is when 'hive' doesn't have the rights to create the warehouse location for the table. Which happens AFTER the table has already been altered/renamed.

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