AAfghahi commented on a change in pull request #14147:
URL: https://github.com/apache/superset/pull/14147#discussion_r614996185



##########
File path: superset/db_engine_specs/bigquery.py
##########
@@ -20,16 +20,23 @@
 from typing import Any, Dict, List, Optional, Tuple, TYPE_CHECKING
 
 import pandas as pd
+from flask_babel import gettext as __
 from sqlalchemy import literal_column
 from sqlalchemy.sql.expression import ColumnClause
 
 from superset.db_engine_specs.base import BaseEngineSpec
+from superset.errors import SupersetErrorType
 from superset.utils import core as utils
 
 if TYPE_CHECKING:
     from superset.models.core import Database  # pragma: no cover
 
 
+INVALID_USER_PERMISSIONS = re.compile(

Review comment:
       though thinking about it, this should maybe be:
   CONNECTION_DATABASE_PERMISSIONS_REGEX in order to mirror the error?




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

Reply via email to