Skip to content

Commit

Permalink
builkio: Add schedule control statements.
Browse files Browse the repository at this point in the history
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
Show file tree
Hide file tree
Showing 33 changed files with 1,050 additions and 407 deletions.
1 change: 1 addition & 0 deletions docs/generated/sql/bnf/drop_stmt.bnf
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ drop_stmt ::=
| drop_sequence_stmt
| drop_type_stmt
| drop_role_stmt
| drop_schedule_stmt
2 changes: 1 addition & 1 deletion docs/generated/sql/bnf/pause_job.bnf
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
4 changes: 4 additions & 0 deletions docs/generated/sql/bnf/pause_schedule.bnf
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'
2 changes: 1 addition & 1 deletion docs/generated/sql/bnf/resume_job.bnf
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
3 changes: 3 additions & 0 deletions docs/generated/sql/bnf/resume_schedule.bnf
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
Loading

0 comments on commit 3a2fe46

Please sign in to comment.