Skip to content

Commit

Permalink
Add AnalysisException to is_non_sqlalchemy_error
Browse files Browse the repository at this point in the history
  • Loading branch information
b1ackout committed May 23, 2024
1 parent 7578d8c commit 7102f97
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/sql/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -559,6 +559,7 @@ def is_non_sqlalchemy_error(error):
# Pyspark
"UNRESOLVED_ROUTINE",
"PARSE_SYNTAX_ERROR",
"AnalysisException",
]
return any(msg in str(error) for msg in specific_db_errors)

Expand Down

0 comments on commit 7102f97

Please sign in to comment.