diff --git a/docs/src/pages/docs/Miscellaneous/issue_codes.mdx b/docs/src/pages/docs/Miscellaneous/issue_codes.mdx new file mode 100644 index 0000000000..cf06ba93f6 --- /dev/null +++ b/docs/src/pages/docs/Miscellaneous/issue_codes.mdx @@ -0,0 +1,45 @@ +--- +name: Issue Codes +menu: Miscellaneous +route: /docs/miscellaneous/issue-codes +index: 3 +version: 1 +--- + +# Issue Code Reference + +This page lists issue codes that may be displayed in +Superset and provides additional context. + +## Issue 1000 + +``` +The datasource is too large to query. +``` + +It's likely your datasource has grown too large to run the current +query, and is timing out. You can resolve this by reducing the +size of your datasource or by modifying your query to only process a +subset of your data. + +## Issue 1001 + +``` +The database is under an unusual load. +``` + +Your query may have timed out because of unusually high load on the +database engine. You can make your query simpler, or wait until the +database is under less load and try again. + +## Issue 1002 + +``` +The database returned an unexpected error. +``` + +Your query failed because of an error that occurred on the database. +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. diff --git a/superset-frontend/src/addSlice/AddSliceContainer.tsx b/superset-frontend/src/addSlice/AddSliceContainer.tsx index f42b9778ed..5f661ea12c 100644 --- a/superset-frontend/src/addSlice/AddSliceContainer.tsx +++ b/superset-frontend/src/addSlice/AddSliceContainer.tsx @@ -122,7 +122,7 @@ export default class AddSliceContainer extends React.PureComponent< 'If the datasource you are looking for is not available in the list, follow the instructions on how to add it in the Superset tutorial.', )}{' '} diff --git a/superset-frontend/src/components/ErrorMessage/IssueCode.tsx b/superset-frontend/src/components/ErrorMessage/IssueCode.tsx index 37543415f2..df0206fe51 100644 --- a/superset-frontend/src/components/ErrorMessage/IssueCode.tsx +++ b/superset-frontend/src/components/ErrorMessage/IssueCode.tsx @@ -28,7 +28,7 @@ export default function IssueCode({ code, message }: IssueCodeProps) { <> {message}{' '}