You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "lliangyu-lin (via GitHub)" <gi...@apache.org> on 2025/05/07 23:48:18 UTC

[I] List CLI command fails when using Glue catalog with namespace [iceberg-go]

lliangyu-lin opened a new issue, #425:
URL: https://github.com/apache/iceberg-go/issues/425

   ### Apache Iceberg version
   
   None
   
   ### Please describe the bug 🐞
   
   ### Description
   When running the list command with a specific namespace (e.g., `go run . list my_db --catalog glue`), the CLI attempts to list sub-namespaces using ListNamespaces(). This fails with:
   ```
   hierarchical namespace is not supported
   ```
   because current Glue catalog implementation does not support hierarchical (nested) namespaces and will simply throw an exception. The issue can happen in other catalog doesn't support hierarchical namespaces.
   
   Ideally the list command should first attempt to list the tables in the namespace and if it's empty, then tries to list the sub-namespaces. This also make sure it share the same behavior in iceberg-python. 
   
   References:
   * https://github.com/apache/iceberg-go/blob/main/cmd/iceberg/main.go#L269-L273
   * https://github.com/apache/iceberg-python/blame/main/pyiceberg/cli/console.py#L114-L121


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [I] List CLI command fails when using Glue catalog with namespace [iceberg-go]

Posted by "zeroshade (via GitHub)" <gi...@apache.org>.
zeroshade closed issue #425: List CLI command fails when using Glue catalog with namespace
URL: https://github.com/apache/iceberg-go/issues/425


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org