-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unify tasks #35
Unify tasks #35
Conversation
ALTER TASK TEAMSNAPSHOTS_TASK RESUME; | ||
ALTER TASK VERIFICATIONSUBMISSIONSNAPSHOTS_TASK RESUME; | ||
ALTER TASK USERGROUPSNAPSHOTS_TASK RESUME; | ||
ALTER TASK refresh_synapse_warehouse_s3_stage_task RESUME; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there any possible issues setting the s3 task to RESUME last? (I'm not too knowledgeable om this part of snowflake)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good question. Snowflake tasks are finicky. They have to start and resume in the opposite order. Take this mermaid diagram
flowchart TD
A --> B
To modify task B, I have to stop task A first, then task B. Then I have to resume task B then task A. At least last I checked, it was like this - maybe they updated snowflake tasks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
|
Problem
Some tasks weren't being triggered by the refresh task.
Solution
Push all tasks to be triggered after the refresh S3 task.