notebook_run
Execute one notebook cell (SQL, Python, or SAS) in its kernel and return a run ID to poll for results; SQL queries can produce DataFrames.
Instructions
Run one notebook cell in its kernel; returns a run id to poll with notebook_poll.
cell_type "sql": a SingleStore statement whose result becomes a DataFrame
(``df``, and ``name`` if given). Statements that change data or schema
come back with ``needs_confirmation`` unless ``confirmed``.
cell_type "python": Python code, run as-is.
cell_type "sas": SAS code (DATA steps, PROCs) in the SAS Viya session; libref S2 = the notebook database.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| source | Yes | ||
| database | No | ||
| cell_type | Yes | ||
| confirmed | No | ||
| notebook_id | Yes |