Stopping, restarting and editing SQL jobs
As a SQL Stream job processes streaming data, you need to stop the job to finish the process. You can restart a SQL Stream job after stopping it. In case you need to update or change the configurations set for a SQL Stream job, you can restart it. You can navigate through the job life cycle using the Streaming SQL Console.
Stopping a SQL Stream job
- Select Console from the left hand menu.
- Click on the SQL Jobs tab.
- Click on the red stop button for the job you would like to stop.
Restarting a SQL Stream job
- Select Console from the left hand menu.
- Click on the SQL Jobs tab.
- Click on the select box below the State column.
- Select Cancelled or Failed to see stopped jobs.
- Select the job you would like to restart.
- Select the Details tab at the bottom.
- Select the Edit Selected Job button.
The SQL window in Edit Mode appears.
- Select Restart to restart the job.
Editing a SQL Stream job
- Select Console from the left hand menu.
- Click on the SQL Jobs tab.
- Select the job you would like to edit.
- Select the Details tab at the bottom.
- Select the Edit Selected Job button.
This will bring up the SQL window in Edit Mode.
- Edit the Target Deployment, Sink Virtual Table and the SQL itself as needed.
- Select Restart to restart the job.
The job will be stopped and restarted.