Skip to content

Configurable namespace for Iceberg#1622

Open
kbatuigas wants to merge 3 commits intov-WIP/26.1from
DOC-1956-document-configurable-table-namespace-for-iceberg
Open

Configurable namespace for Iceberg#1622
kbatuigas wants to merge 3 commits intov-WIP/26.1from
DOC-1956-document-configurable-table-namespace-for-iceberg

Conversation

@kbatuigas
Copy link
Contributor

@kbatuigas kbatuigas commented Mar 19, 2026

Description

This pull request updates the Iceberg documentation to clarify how Redpanda manages Iceberg table namespaces, especially regarding the default namespace (redpanda) and how to configure a custom namespace using the iceberg_default_catalog_namespace property. The changes also improve instructions and examples across several integration guides to ensure users understand namespace behavior in both cloud and self-managed environments.

NOTE: The property is still conditionalized out from Cloud docs

Key documentation improvements:

Namespace configuration and usage:

  • Added explanations that Redpanda creates Iceberg tables in the redpanda namespace by default and clarified how to set a custom namespace with the iceberg_default_catalog_namespace property, including the important note that this property is immutable after enabling Iceberg. [1] [2] [3]
  • Updated command examples and configuration snippets to show how to set the custom namespace, and clarified placeholder usage (e.g., <cluster-id> instead of <CLUSTER ID>). [1] [2]

Integration-specific instructions and visibility:

  • Updated Databricks Unity and Snowflake integration guides to explain how the namespace appears in their respective catalogs, with conditional instructions for cloud and self-managed environments. [1] [2]
  • Added notes to the query documentation reminding users to replace redpanda with their configured namespace in query examples if a custom namespace is used.

Resolves https://redpandadata.atlassian.net/browse/
Review deadline:

Page previews

About Iceberg Topics > Enable Iceberg integration
Query Iceberg Topics > Query examples
AWS Glue > Update cluster configuration

Checks

  • New feature
  • Content gap
  • Support Follow-up
  • Small fix (typos, links, copyedits, etc)

@kbatuigas kbatuigas requested a review from a team as a code owner March 19, 2026 18:45
@netlify
Copy link

netlify bot commented Mar 19, 2026

Deploy Preview for redpanda-docs-preview ready!

Name Link
🔨 Latest commit 6c797c1
🔍 Latest deploy log https://app.netlify.com/projects/redpanda-docs-preview/deploys/69bc4466d246820008dd5dc7
😎 Deploy Preview https://deploy-preview-1622--redpanda-docs-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 19, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 7346b667-6973-4322-bae4-09c9ab4d9b2a

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch DOC-1956-document-configurable-table-namespace-for-iceberg
📝 Coding Plan
  • Generate coding plan for human review comments

Comment @coderabbitai help to get the list of available commands and usage tips.

----
iceberg_enabled: true
# Set a custom namespace instead of the default "redpanda"
iceberg_default_catalog_namespace: ["<custom-namespace>"]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nvartolomei Based on the description for ENG-917 I included the property in this example without commenting it out or saying it's optional. Does that sound good, and should I also change the wording on 133 and be explicit that it's required?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it strictly required @nvartolomei or just commonly needed because Glue uses a single catalog (or something like that) and so namespaces are the primary table isolation mechanism. Is that right?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is not required as we have a default BUT, I believe, you almost always want to set it to something unique as in Glue you get only 1 catalog so once you create second cluster you'll start getting conflicts.

This document should make this very clear to the user so they don't shoot themselves in the foot now or later.

This section:

By default, Redpanda creates Iceberg tables in a namespace called redpanda. To use a custom namespace, set config_ref:iceberg_default_catalog_namespace,true,properties/cluster-properties[iceberg_default_catalog_namespace] at the same time. This property cannot be changed after Iceberg is enabled.

Suggested change by Claude:

The explanatory paragraph should be expanded to explain the multi-cluster / shared-catalog conflict risk explicitly. Something along the lines of:

"When multiple clusters write to the same catalog, each cluster must use a distinct namespace to avoid table name collisions. This is especially critical for catalog providers that offer a single global catalog per account (e.g., AWS Glue), where there is no other isolation mechanism."

Then, at each point where the user is prompted to enable Iceberg, the docs should actively prompt the user to evaluate whether a unique namespace is needed, with a cross-reference to the expanded rationale above.

@kbatuigas
Copy link
Contributor Author

@mattschumpert We added iceberg_default_catalog_namespace to the list of new properties in 25.3 What's New, but since it was added in a point release, we did not dedicate a whole entry to it. Should I add one in 26.1?

endif::[]
ifndef::env-cloud[]
+
By default, Redpanda creates Iceberg tables in a namespace called `redpanda`. To use a custom namespace, set config_ref:iceberg_default_catalog_namespace,true,properties/cluster-properties[`iceberg_default_catalog_namespace`] at the same time. This property cannot be changed after Iceberg is enabled.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe say what 'enabled' means? (setting which conf)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why?

----
iceberg_enabled: true
# Set a custom namespace instead of the default "redpanda"
iceberg_default_catalog_namespace: ["<custom-namespace>"]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it strictly required @nvartolomei or just commonly needed because Glue uses a single catalog (or something like that) and so namespaces are the primary table isolation mechanism. Is that right?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants