superset-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-superset] Steejay commented on a change in pull request #11099: feat: more specific presto error messages
Date Tue, 29 Sep 2020 20:11:59 GMT

Steejay commented on a change in pull request #11099:
URL: https://github.com/apache/incubator-superset/pull/11099#discussion_r497015094



##########
File path: docs/src/pages/docs/Miscellaneous/issue_codes.mdx
##########
@@ -43,3 +43,33 @@ This may be due to a syntax error, a bug in your query, or some other
 internal failure within the database. This is usually not an
 issue within Superset, but instead a problem with the underlying
 database that serves your query.
+
+## Issue 1003
+
+```
+There is a syntax error in the SQL query. Perhaps there was a misspelling or a typo.
+```
+
+Your query failed because of a syntax error within the underlying query. Please
+validate that all columns or tables referenced within the query are spelled
+correctly.
+
+## Issue 1004
+
+```
+The column was changed in the underlying database structure.

Review comment:
       Thanks Erik. We could break it down more and be more specific by listing more potential
triggers.. though I'm hesitant to do that assuming the list can get really long. 
   
   We could also be more concise by changing the existing to: "The column was changed in the
datasource." suggesting that the column still exists but there could have been a name or type
change. Also adding another potential trigger/issue #:  "The column doesn't exists in the
datasource." suggesting the column was deleted or never existed in the first place. 




----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Mime
View raw message