Skip to content

Commit 59f07c9

Browse files
authored
fix: Raise non-retryable on warehouse suspended by monitor (#41821)
1 parent 736f0dd commit 59f07c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

products/batch_exports/backend/temporal/destinations/snowflake_batch_export.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -761,7 +761,7 @@ async def copy_loaded_files_to_snowflake_table(
761761
except snowflake.connector.errors.ProgrammingError as e:
762762
self.logger.exception(f"Error executing COPY INTO query: {e}")
763763

764-
if e.errno == 608:
764+
if e.errno == 608 or e.errno == 90073:
765765
err_msg = (
766766
f"Failed to execute COPY INTO query after {max_attempts} attempts due to warehouse being suspended"
767767
)

0 commit comments

Comments
 (0)