mistercrunch commented on code in PR #20395:
URL: https://github.com/apache/superset/pull/20395#discussion_r907697802
##########
superset/db_engine_specs/bigquery.py:
##########
@@ -78,6 +78,11 @@ class BigQueryParametersSchema(Schema):
query = fields.Dict(required=False)
+class ErrorMessageType(TypedDict):
Review Comment:
Thinking about this object, I think there are 3, maybe 4 things:
1. error_category:str ("BigQuery Error", or "Database Error", "Missing
Column" or "Unexpected Error")
2. error_message:str ("Invalid expression, the table 'users' does not
include a 'gender' column ")
3. error_details[str:optional] (the expandable section)
4. error_code[str:optional] (3332), error from databases or in other context
can have a unique code. This is specialized and may not be used most of the
times
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]