betodealmeida commented on a change in pull request #14147:
URL: https://github.com/apache/superset/pull/14147#discussion_r616195684
##########
File path: superset/db_engine_specs/bigquery.py
##########
@@ -86,6 +93,17 @@ class BigQueryEngineSpec(BaseEngineSpec):
"P1Y": "{func}({col}, YEAR)",
}
+ custom_errors = {
+ CONNECTION_DATABASE_PERMISSIONS_REGEX: (
+ __(
+ "We were unable to connect to your database. Please "
+ "confirm that your service account has the Viewer "
+ "and Job User roles on the project."
Review comment:
Cool, let's leave it like this because this is what currently shows up,
but eventually we need to refactor the error handling to show the issue numbers
and messages somehow.
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]