mchades opened a new issue, #13809: URL: https://github.com/apache/gravitino/issues/13809
### What would you like to be improved? Dropping a catalog without `force` may require accessing the backend to check its schemas. When the backend is unreachable, the error may only report the connection failure, such as `Failed to connect to Hive Metastore`. The message does not explain that the failure occurred during the schema check or that `force=true` can skip this check. ### How should we improve? For backend connection failures during the pre-drop schema check: - Explain that the schema check failed. - Preserve the original connection error. - Mention `force=true` as an option to skip the check. For example: > Failed to check schemas in the underlying catalog: Failed to connect to Hive Metastore. Use force=true to skip this check. Keep the existing deletion semantics and add regression coverage for the improved message. https://github.com/apache/gravitino/blob/2d4796baad1d63386751f18dff8df8a570f4462a/core/src/main/java/org/apache/gravitino/catalog/CatalogManager.java#L1380-L1385 -- 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]
