You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2022/05/30 17:48:42 UTC

[GitHub] [iceberg] bryanck opened a new pull request, #4905: Return an empty list for child namespaces in the REST catalog client

bryanck opened a new pull request, #4905:
URL: https://github.com/apache/iceberg/pull/4905

   Currently, an exception is thrown as part of a precondition check when the REST catalog client attempts to list namespaces under a parent. Some versions of Spark attempt to list child namespaces before performing a drop of the namespace, so this throws an exception and a namespace drop is not possible. This PR changes the behavior to return an empty list instead, which allows the Spark namespace drop to proceed. Given the REST catalog does not currently support nested namespaces, this seems semantically correct.


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


[GitHub] [iceberg] bryanck closed pull request #4905: Return an empty list for child namespaces in the REST catalog client

Posted by GitBox <gi...@apache.org>.
bryanck closed pull request #4905: Return an empty list for child namespaces in the REST catalog client
URL: https://github.com/apache/iceberg/pull/4905


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


[GitHub] [iceberg] bryanck commented on pull request #4905: Return an empty list for child namespaces in the REST catalog client

Posted by GitBox <gi...@apache.org>.
bryanck commented on PR #4905:
URL: https://github.com/apache/iceberg/pull/4905#issuecomment-1141389631

   Closing this, as this will be resolved when `listNamespaces()` is fully implemented in the REST catalog client.


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