Skip to content

feat: Add support for list-namespaces#131

Open
subkanthi wants to merge 5 commits intomasterfrom
130-feat-add-support-for-list-namespace
Open

feat: Add support for list-namespaces#131
subkanthi wants to merge 5 commits intomasterfrom
130-feat-add-support-for-list-namespace

Conversation

@subkanthi
Copy link
Collaborator

closes: #130

@subkanthi subkanthi linked an issue Mar 13, 2026 that may be closed by this pull request
@subkanthi subkanthi requested a review from xieandrew March 13, 2026 19:47
@subkanthi subkanthi added the ice Relates to ice label Mar 13, 2026
@subkanthi subkanthi added this to the v0.13.0 milestone Mar 13, 2026
Copy link
Collaborator

@xieandrew xieandrew left a comment

Choose a reason for hiding this comment

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

Functionality looks good but a question on naming consistency. We already have list-partitions (plural) so maybe this should be list-namespaces instead?

@subkanthi
Copy link
Collaborator Author

Functionality looks good but a question on naming consistency. We already have list-partitions (plural) so maybe this should be list-namespaces instead?

changed to list-namespaces

Copy link
Collaborator

@xieandrew xieandrew left a comment

Choose a reason for hiding this comment

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

The corresponding class/method should probably be renamed also

import org.apache.iceberg.catalog.Namespace;
import org.apache.iceberg.rest.RESTCatalog;

public final class ListNamespace {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Rename class to ListNamespaces

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

updated.

}

@CommandLine.Command(name = "list-namespaces", description = "List namespaces.")
void listNamespace(
Copy link
Collaborator

Choose a reason for hiding this comment

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

Rename method

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

updated.

@xieandrew xieandrew changed the title 130 feat add support for list namespace feat: Add support for list-namespaces Mar 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ice Relates to ice

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Add support for list-namespace

2 participants