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

Core: List namespaces/tables when testing identifier with a dot #11991

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nastra
Copy link
Contributor

@nastra nastra commented Jan 17, 2025

No description provided.

@@ -244,7 +244,7 @@ public void testLoadNamespaceMetadata() {

assertThatThrownBy(() -> catalog.loadNamespaceMetadata(NS))
.isInstanceOf(NoSuchNamespaceException.class)
.hasMessageStartingWith("Namespace does not exist: newdb");
.hasMessageStartingWith("Namespace does not exist: %s", NS);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this is just a separate improvement to make sure that the namespace name isn't hardcoded in the expected error msg when setting NS to something else

@@ -499,6 +499,8 @@ public void testNamespaceWithDot() {
catalog.createNamespace(withDot);
assertThat(catalog.namespaceExists(withDot)).as("Namespace should exist").isTrue();

assertThat(catalog.listNamespaces()).contains(withDot);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this reproduces #11990

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