Catalog: Support cascading namespace deletion - #18158
Open
CoderNasim2023 wants to merge 2 commits into
Open
CoderNasim2023 wants to merge 2 commits into
CoderNasim2023 wants to merge 2 commits into
Conversation
Author
|
please take a look at this PR @fivetran-ozwhitesell |
|
@CoderNasim2023 This looks exactly like what I am looking for. To be transparent I am new to Apache projects. Are you looking for me to review/approve this PR or are you just bringing it to my attention? |
Author
Not exactly but you created the issue that's why I'm asking for review & if possible to merge fivetran-ozwhitesell |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
#18146
Add backward-compatible cascade support for dropping namespaces that contain tables.
When
cascadeis enabled, the default implementation lists and purges the tables in the namespace before dropping the namespace. Existing non-cascade behavior is unchanged. Catalog implementations can override the method for atomic or server-side deletion.Tests
gradle :iceberg-core:test --tests org.apache.iceberg.inmemory.TestInMemoryCatalog --console=plainBUILD SUCCESSFULAdded coverage for multiple tables and nonexistent namespaces.
AI Disclosure