Skip to content

Commit

Permalink
Update src/databricks/labs/lsql/core.py
Browse files Browse the repository at this point in the history
  • Loading branch information
nfx authored Apr 19, 2024
1 parent badb02c commit 4aadae5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/databricks/labs/lsql/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ def _raise_if_needed(status: StatementStatus):
raise NotFound(error_message)
if "DELTA_TABLE_NOT_FOUND" in error_message:
raise NotFound(error_message)
if "does not exists" in error_message:
if "does not exist" in error_message:
raise NotFound(error_message)
if "DELTA_MISSING_TRANSACTION_LOG" in error_message:
raise DataLoss(error_message)
Expand Down

0 comments on commit 4aadae5

Please sign in to comment.