View source: R/execution-context.R
db_context_command_run | R Documentation |
Run a Command
db_context_command_run(
cluster_id,
context_id,
language = c("python", "sql", "scala", "r"),
command = NULL,
command_file = NULL,
options = list(),
host = db_host(),
token = db_token(),
perform_request = TRUE
)
cluster_id |
The ID of the cluster to create the context for. |
context_id |
The ID of the execution context. |
language |
The language for the context. One of |
command |
The command string to run. |
command_file |
The path to a file containing the command to run. |
options |
Named list of values used downstream. For example, a 'displayRowLimit' override (used in testing). |
host |
Databricks workspace URL, defaults to calling |
token |
Databricks workspace token, defaults to calling |
perform_request |
If |
Other Execution Context API:
db_context_command_cancel()
,
db_context_command_parse()
,
db_context_command_run_and_wait()
,
db_context_command_status()
,
db_context_create()
,
db_context_destroy()
,
db_context_status()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.