-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[snowflake] Support ignoring missing tables when using `fetch_last_up…
…dated_timestamps` (#25488) ## Summary & Motivation This PR adds an optional argument `ignore_missing_tables: Optional[bool] = False` to `dagster_snowflake.fetch_last_updated_timestamps`. When true, this argument will not raise an error when a table is not found in Snowflake. Instead, it will just continue and exclude the table from the resulting freshness map. This is useful when you deploy a dagster project to multiple environments, where your development environment may not have all tables available. We use this function to generate observation events for source tables, and this allows us to generate observations for the tables that do exist, but ignore tables that don't. Linked issue: #24245 ## How I Tested These Changes Unit test is included. ## Changelog > `dagster_snowflake.fetch_last_updated_timestamps` now supports ignoring tables not found in Snowflake instead of raising an error
- Loading branch information
1 parent
2e54e69
commit 1a7d3f6
Showing
2 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters