From fb510111741ed67f494464810bf43d7c5957db17 Mon Sep 17 00:00:00 2001 From: Shashank Suman Date: Fri, 17 Nov 2023 13:13:41 -0500 Subject: [PATCH] reformatting of headers --- docs/_toc.yml | 2 ++ docs/source/reference/evaql/create_job.rst | 11 ++++++----- docs/source/reference/evaql/drop_job.rst | 4 ++-- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/docs/_toc.yml b/docs/_toc.yml index ca191ce42d..1bf242808f 100644 --- a/docs/_toc.yml +++ b/docs/_toc.yml @@ -55,9 +55,11 @@ parts: - file: source/reference/evaql/create_function - file: source/reference/evaql/create_index - file: source/reference/evaql/create_table + - file: source/reference/evaql/create_job - file: source/reference/evaql/drop_database - file: source/reference/evaql/drop_function - file: source/reference/evaql/drop_table + - file: source/reference/evaql/drop_job - file: source/reference/evaql/insert_table - file: source/reference/evaql/delete_table - file: source/reference/evaql/rename diff --git a/docs/source/reference/evaql/create_job.rst b/docs/source/reference/evaql/create_job.rst index 04949e1be0..db24480396 100644 --- a/docs/source/reference/evaql/create_job.rst +++ b/docs/source/reference/evaql/create_job.rst @@ -1,15 +1,16 @@ CREATE JOB =============== -.. _create-function: +.. _create-job: The CREATE JOB statement allows us to create recurring or one-time jobs in EvaDB. These jobs can be associated with multiple queries, all of which will be executed sequentially every time the created job is triggered according to the assigned schedule. -.. code-block:: sql +.. code-block:: text - CREATE JOB [IF NOT EXISTS] AS { + CREATE JOB [IF NOT EXISTS] AS + { ... } [START ] @@ -27,7 +28,8 @@ Examples .. code:: text - CREATE JOB forecasting_job AS { + CREATE JOB forecasting_job AS + { CREATE OR REPLACE FUNCTION HomeSalesForecast FROM ( SELECT * FROM postgres_data.home_sales ) TYPE Forecasting @@ -37,4 +39,3 @@ Examples START '2023-04-01 01:10:00' END '2023-05-01' EVERY 1 week; - diff --git a/docs/source/reference/evaql/drop_job.rst b/docs/source/reference/evaql/drop_job.rst index fd0c920152..88910ca214 100644 --- a/docs/source/reference/evaql/drop_job.rst +++ b/docs/source/reference/evaql/drop_job.rst @@ -1,9 +1,9 @@ DROP JOB ============= -.. _drop_job: +.. _drop-job: .. code:: mysql DROP JOB forecasting_job; - DROP JOB IF EXISTS forecasting_job; \ No newline at end of file + DROP JOB IF EXISTS forecasting_job;