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

Nessie: Bump Nessie and add Namespace support #4385

Merged
merged 1 commit into from Apr 1, 2022

Conversation

nastra
Copy link
Contributor

@nastra nastra commented Mar 24, 2022

No description provided.

@nastra nastra requested a review from rdblue March 24, 2022 06:49
@nastra nastra force-pushed the add-namespace-support branch 2 times, most recently from f8e92b1 to 970f2ca Compare March 24, 2022 08:23
Assertions.assertThatThrownBy(() -> catalog.dropNamespace(Namespace.of("test")))
.isInstanceOf(UnsupportedOperationException.class)
.hasMessage("Cannot drop namespace 'test': dropNamespace is not supported by the NessieCatalog");
public void testCreatingAndDroppingNamespace() {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

additional Namespace testing will be added once we introduce a NessieCatalogTest

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Member

@snazy snazy left a comment

Choose a reason for hiding this comment

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

Namespace operations must use the Nessie reference including the hash. It doesn't matter much for now, but once namespaces have properties, it probably matters.

@Override
public void createNamespace(Namespace namespace, Map<String, String> metadata) {
try {
Copy link
Contributor

Choose a reason for hiding this comment

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

I notice metadata is ignored but the javadoc is removed, can you add it back.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have a follow-up PR for that part of the code and will add that note there if that's ok?

@rymurr rymurr merged commit c7b8d41 into apache:master Apr 1, 2022
@nastra nastra deleted the add-namespace-support branch April 1, 2022 13:41
kbendick pushed a commit to kbendick/iceberg that referenced this pull request Apr 4, 2022
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.

None yet

3 participants