update_dataset_sql
Update the SQL query for a QuickSight dataset in place. Creates a backup by default to protect against unintended changes.
Instructions
Update the SQL query for a QuickSight dataset.
WARNING: This modifies the dataset in place. A backup is created by default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new_sql | Yes | The new SQL query to set. Must be valid SQL for the dataset's data source (e.g., Snowflake, Redshift). | |
| dataset_id | Yes | The QuickSight dataset ID. | |
| backup_first | No | Create a backup before updating (default True). Strongly recommended -- set to False only if you already have a manual backup. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||