Important
Helios features are now enabled during weekly update windows and are no longer directly tied to SingleStore engine releases. Refer to the release notes to view the latest features available in your Helios cluster.
RUN JOB USING NOTEBOOK
On this page
The RUN JOB USING NOTEBOOK command creates a notebook job that immediately runs the specified notebook in a Stage using the specified runtime and parameters.
Syntax
RUN JOB USING NOTEBOOK '<notebook_path>'
[ WITH RUNTIME '<runtime_name>' ]
[ WITH PARAMETERS <param_json> ]Arguments
-
notebook_: Path in the Stage where the notebook file is stored.path -
runtime_: Name of the runtime the scheduled job is run with.name -
param_: The parameters passed to the job in JSON format, for example,json {"<paramName>": "<paramValue>", ... . } It only supports string, integer, float, and boolean type values.
Remarks
-
The scheduled notebook job is run immediately after the
RUN JOB USING NOTEBOOKcommand is run.
Example
The following command creates a scheduled job that runs a notebook named example_notebooks-cpu-small runtime:
RUN JOB USING NOTEBOOK 'example_notebook.ipynb'WITH RUNTIME 'notebooks-cpu-small'WITH PARAMETERS {"strParam": "string","intParam": 1,"floatParam": 1.0,"boolParam": true}
Last modified: