Skip to content

Catalog: Support cascading namespace deletion - #18158

Open
CoderNasim2023 wants to merge 2 commits into
apache:mainfrom
CoderNasim2023:feature/bulk-namespace-delete
Open

CoderNasim2023 wants to merge 2 commits into
apache:mainfrom
CoderNasim2023:feature/bulk-namespace-delete

Conversation

@CoderNasim2023

@CoderNasim2023 CoderNasim2023 commented Sep 17, 2026

Copy link
Copy Markdown

Description

#18146

Add backward-compatible cascade support for dropping namespaces that contain tables.

When cascade is 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=plain
  • Result: BUILD SUCCESSFUL
  • JDK: 21.0.12 LTS
  • Gradle: 8.14.5

Added coverage for multiple tables and nonexistent namespaces.


AI Disclosure

  • Model: [Auto selected by copilot]
  • Platform/Tool: GitHub Copilot
  • Human Oversight: Half part
  • Prompt Summary: Implement bulk/cascade namespace deletion support and unit tests for Apache Iceberg issue Bulk table delete #18146.

@CoderNasim2023

CoderNasim2023 commented Sep 17, 2026

Copy link
Copy Markdown
Author

please take a look at this PR @fivetran-ozwhitesell

@CoderNasim2023 CoderNasim2023 changed the title Catalog: Support cascading namespace deletion Catalog: Support cascading namespace deletion issue Sep 18, 2026
@CoderNasim2023 CoderNasim2023 changed the title Catalog: Support cascading namespace deletion issue Catalog: Support cascading namespace deletion Sep 18, 2026
@fivetran-ozwhitesell

Copy link
Copy Markdown

@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?

@fivetran-ozwhitesell fivetran-ozwhitesell mentioned this pull request Sep 18, 2026
3 tasks
@CoderNasim2023

CoderNasim2023 commented Sep 18, 2026

Copy link
Copy Markdown
Author

@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?

Not exactly but you created the issue that's why I'm asking for review & if possible to merge fivetran-ozwhitesell

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants