shaofengshi opened a new issue, #9658:
URL: https://github.com/apache/gravitino/issues/9658
### Version
main branch
### Describe what's wrong
When use Lance Namespace Rest service to drop a catalog level namespace, it
won't be success:
`Failed to drop namespace: HTTP 400: {"error":"Catalog test_catalog_62d3f5b9
is not empty or in used","code":400,"type":"NonEmptyCatalogException"}`
The reason is that, Gravitino catalog need be set in-use = false before drop.
While, for Lance client, it doesn't aware this. Furthermore, it doesn't know
the metalake name in the context, so won't be able to use Gravitino API to do
that.
Expected behavior: using Lance Rest API to drop the catalog namespace
directly.
### Error message and/or stacktrace
See above.
### How to reproduce
Start a Lance rest service in gravitino, then use the Lance Namespace API to
create and drop a catalog.
### Additional context
_No response_
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]