-
-
Notifications
You must be signed in to change notification settings - Fork 88
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
fix: edge case fix on iceberg target table being dropped instead on being renamed first #667
Conversation
dbt/include/athena/macros/materializations/models/table/table.sql
Outdated
Show resolved
Hide resolved
@octiva might give some input here, as he has a LF env with restricted policies, and we want to be sure that all works fine. |
dbt/include/athena/macros/materializations/models/table/table.sql
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dbt/include/athena/macros/materializations/models/table/table.sql
Outdated
Show resolved
Hide resolved
dbt/include/athena/macros/materializations/models/table/table.sql
Outdated
Show resolved
Hide resolved
@octiva it will be good if you can test this feature again in your environment to see if all works as expected. @Avinash-1394 I hope that I cover and addressed your question/suggestion. Feel free to have a look. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🇮🇹
dbt/include/athena/macros/materializations/models/table/table.sql
Outdated
Show resolved
Hide resolved
Co-authored-by: Spencer <53303191+octiva@users.noreply.github.com>
Description
See https://getdbt.slack.com/archives/C013MLFR7BQ/p1717497450266499
Pretty much #625 introduced a regression that was not letting iceberg working in an full high available mode.
This PR cover the issue, and add functional tests to catch these edge case.
Plus it introduce some improvements that allow to work properly in some restrictive LF permission models, where drop can happen only on existing objects.
Models used to test - Optional
See functional tests
Checklist