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

Conversation

ajantha-bhat
Copy link
Contributor

No description provided.


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.
<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

@ajantha-bhat ajantha-bhat requested a review from snazy May 6, 2023 07:18
site/docs/blog/namespace-enforcement.md Outdated Show resolved Hide resolved
site/docs/blog/namespace-enforcement.md Outdated Show resolved Hide resolved
@ajantha-bhat ajantha-bhat merged commit fdb1f1c into projectnessie:main May 8, 2023
@ajantha-bhat ajantha-bhat deleted the blog branch May 8, 2023 16:08
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.

2 participants