-
Notifications
You must be signed in to change notification settings - Fork 427
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Introduce shared function to suspend task roots (#2650)
Refactor previously planned function for task suspension, which is also necessary to push the grant ownership resource forward. ## Test Plan <!-- detail ways in which this PR has been tested or needs to be tested --> * [x] acceptance tests - tested on exiting tests (had to adjust new suspension code to mimic what was previously, otherwise I got a Snowflake error indicating that the root tasks were not suspended and the logic was wrong). * [x] integration test to test new SDK function ## Reference [CREATE TASK](https://docs.snowflake.com/en/sql-reference/sql/create-task)
- Loading branch information
1 parent
b542b69
commit d684b5d
Showing
4 changed files
with
210 additions
and
82 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
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