feat: custom error SQL Lab timeout (#15342)

* feat: custom error SQL Lab timeout

* Update test
This commit is contained in:
Beto Dealmeida
2021-06-24 08:02:49 -07:00
committed by GitHub
parent b3616d23a4
commit 241ee32f56
6 changed files with 88 additions and 36 deletions

View File

@@ -61,6 +61,7 @@ export const ErrorTypeEnum = {
DML_NOT_ALLOWED_ERROR: 'DML_NOT_ALLOWED_ERROR',
INVALID_CTAS_QUERY_ERROR: 'INVALID_CTAS_QUERY_ERROR',
INVALID_CVAS_QUERY_ERROR: 'INVALID_CVAS_QUERY_ERROR',
SQLLAB_TIMEOUT_ERROR: 'SQLLAB_TIMEOUT_ERROR',
// Generic errors
GENERIC_COMMAND_ERROR: 'GENERIC_COMMAND_ERROR',