Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve error message for catalog errors when listing metadata
Depending on the client that initiated a metadata query, error messages returned from `ConnectorMetadata` can be confusing for users. For example, a query to `system.jdbc` tables with no catalog predicate, on exceptions in the catalog, will propagate those exceptions, with no way for the user to know which catalog has thrown that exception. When there are a lot of catalogs, this makes investigating the issue very hard for Trino admins. We can make it easier by always including the problematic catalog's name in the error message.
- Loading branch information
Showing
5 changed files
with
161 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters