-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
builkio: Add schedule control statements.
Introduce schedule control statements responsible for managing scheduled jobs. ``` PAUSE SCHEDULE 123 PAUSE SCHEDULES SELECT ... RESUME SCHEDULES SELECT schedule_id FROM system.schedules_jobs ... DROP SCHEDULE 123 ``` Release Notes (enterprise): Implement schedule control statements to pause, resume, or delete scheduled jobs.
- Loading branch information
Yevgeniy Miretskiy
committed
Jul 27, 2020
1 parent
3edbe4a
commit 3a2fe46
Showing
33 changed files
with
1,050 additions
and
407 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,4 @@ drop_stmt ::= | |
| drop_sequence_stmt | ||
| drop_type_stmt | ||
| drop_role_stmt | ||
| drop_schedule_stmt |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
pause_stmt ::= | ||
pause_jobs_stmt ::= | ||
'PAUSE' 'JOB' job_id | ||
| 'PAUSE' 'JOBS' select_stmt |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
pause_schedules_stmt ::= | ||
'PAUSE' 'SCHEDULE' schedule_id | ||
| 'PAUSE' 'SCHEDULES' select_stmt | ||
| with_clause 'PAUSE' 'SCHEDULES' |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
resume_stmt ::= | ||
resume_jobs_stmt ::= | ||
'RESUME' 'JOB' job_id | ||
| 'RESUME' 'JOBS' select_stmt |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
resume_schedules_stmt ::= | ||
'RESUME' 'SCHEDULE' schedule_id | ||
| 'RESUME' 'SCHEDULES' select_stmt |
Oops, something went wrong.