-
Notifications
You must be signed in to change notification settings - Fork 101
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
Zero Downtime options for table materialization #73
Comments
Right now it is not possible to use the rename command since the rename actually works but an error is raised because results can't be found according to athena API. A case has been opened by my company on AWS. They are investigation. |
This can be done by using views but Athena views are not supported by either Spark or Redshift, which causes trouble in my use-case. Another approach could be using the With this approach metadata (partition information) would mostly be the same but to cover everything |
@hiltercoty we merged the feature to address ha for hive tables. |
As found by @Jrmyy this issue is not longer blocked as the athena team fixed the |
See this PR: Tomme/dbt-athena#95
Also using iceberg should be quit easy:
It's not 100% downtime, but almost.
Regarding not iceberg table we can do something like this:
So pretty much we leverage a table update to add a total new data schema and a new location. https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/glue.html#Glue.Client.update_table
The text was updated successfully, but these errors were encountered: