Run a Command
Arguments
- 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
python,sql,scala,r.- 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
db_host().- token
Databricks workspace token, defaults to calling
db_token().- perform_request
If
TRUE(default) the request is performed, ifFALSEthe httr2 request is returned without being performed.
See also
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()
