redash_config
Creates, updates, deletes, gets or lists a redash_config resource.
Overview
| Name | redash_config |
| Type | Resource |
| Id | databricks_workspace.sql.redash_config |
Fields
The following fields are returned by SELECT queries:
- get
| Name | Datatype | Description |
|---|---|---|
allow_custom_js_visualizations | boolean | |
allow_downloads | boolean | |
allow_external_shares | boolean | |
allow_subscriptions | boolean | |
date_format | string | |
date_time_format | string | |
disable_publish | boolean | |
enable_legacy_autodetect_types | boolean | |
feature_show_permissions_control | boolean | |
hide_plotly_mode_bar | boolean |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | deployment_name | Read workspace configuration for Redash-v2. |
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.
| Name | Datatype | Description |
|---|---|---|
deployment_name | string | The Databricks Workspace Deployment Name (default: dbc-abcd0123-a1bc) |
SELECT examples
- get
Read workspace configuration for Redash-v2.
SELECT
allow_custom_js_visualizations,
allow_downloads,
allow_external_shares,
allow_subscriptions,
date_format,
date_time_format,
disable_publish,
enable_legacy_autodetect_types,
feature_show_permissions_control,
hide_plotly_mode_bar
FROM databricks_workspace.sql.redash_config
WHERE deployment_name = '{{ deployment_name }}' -- required
;