Skip to main content

enable_results_downloading

Creates, updates, deletes, gets or lists an enable_results_downloading resource.

Overview

Nameenable_results_downloading
TypeResource
Iddatabricks_workspace.settings.enable_results_downloading

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
setting_namestringName of the corresponding setting. This field is populated in the response, but it will not be respected even if it's set in the request body. The setting name in the path parameter will be respected instead. Setting name is required to be 'default' if the setting only has one instance per workspace.
boolean_valobject

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectdeployment_nameGets the Notebook results download setting.
updateupdatedeployment_name, allow_missing, setting, field_maskUpdates the Notebook results download setting. The model follows eventual consistency, which means the

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
deployment_namestringThe Databricks Workspace Deployment Name (default: dbc-abcd0123-a1bc)

SELECT examples

Gets the Notebook results download setting.

SELECT
setting_name,
boolean_val
FROM databricks_workspace.settings.enable_results_downloading
WHERE deployment_name = '{{ deployment_name }}' -- required
;

UPDATE examples

Updates the Notebook results download setting. The model follows eventual consistency, which means the

UPDATE databricks_workspace.settings.enable_results_downloading
SET
allow_missing = {{ allow_missing }},
setting = '{{ setting }}',
field_mask = '{{ field_mask }}'
WHERE
deployment_name = '{{ deployment_name }}' --required
AND allow_missing = {{ allow_missing }} --required
AND setting = '{{ setting }}' --required
AND field_mask = '{{ field_mask }}' --required
RETURNING
setting_name,
boolean_val;