Skip to content
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

Blog: Update about namespace enforcement #6753

Merged
merged 3 commits into from
May 8, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions site/docs/blog/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
Highlights

* [Rolling upgrade issue to 0.26.0](incident-2022-05.md) (May 2022)
* [Namespace enforcement](namespace-enforcement.md) (May 2023)
7 changes: 7 additions & 0 deletions site/docs/blog/namespace-enforcement.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Namespace enforcement in Nessie

Starting from Nessie version 0.52.3, it is required to have existing Namespaces before creating or committing to tables.
<br>In case of tables that have implicit namespaces, new commits will fail after the upgrade as this rule will be enforced.
ajantha-bhat marked this conversation as resolved.
Show resolved Hide resolved
<br>Therefore, it is necessary to explicitly create the namespaces using the using SQL command (for Spark, `CREATE NAMESPACE catalogName.namespaceName`) or Iceberg Catalog API.
Copy link
Member

Choose a reason for hiding this comment

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

Is it not CREATE DATABASE in Spark?

Copy link
Member

@dimas-b dimas-b May 5, 2023

Choose a reason for hiding this comment

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

Please also mention the create-missing-namespaces command of the Content Generator CLI (#6280).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Both create databases and create namespaces can be used for same purpose. Not sure if it is because of Iceberg spark extensions. But both of them works.

image

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Please also mention the create-missing-namespaces command of the Content Generator CLI (#6280).

ok

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added about content generator tool and also had to update the tool's readme as it was outdated

<br>[Issue background](https://github.com/projectnessie/nessie/issues/6244)
<br>[more info from the spec](https://github.com/projectnessie/nessie/blob/main/api/NESSIE-SPEC-2-0.md#200-beta1)