Closed topcat9131 closed 1 month ago
You can use databricks lakeview update
command to update existing Lakeview dashboard
You can use
databricks lakeview update
command to update existing Lakeview dashboard
That's not much better, you still need to check if the dashboard exists before using update.
databricks lakeview list
.databricks lakeview update xxxxxxx00000yyyyyyyy
to update it.I see, indeed, unfortunately API does not support updating dashboard by name and only accept ID as names might be duplicated. We'll pass on the feedback to corresponding API team
Describe the issue
No overwrite option for "databricks lakeview create". User cannot update a lakeview dashboard if a dashboard with the same name already exists.
Steps to reproduce the behavior
Please list the steps required to reproduce the issue, for example:
databricks lakeview create SmartDashName --serialized-dashboard "$dashJsonRaw" -o json
databricks lakeview create SmartDashName --serialized-dashboard "$dashJsonRaw" -o json
Expected Behavior
An overwrite option should exist if by default overwrite is not allowed.
Actual Behavior
No overwrite option. User must:
databricks lakeview list
.databricks lakeview trash xxxxxxx00000yyyyyyyy
to delete it.databricks lakeview create SmartDashName --serialized-dashboard "$dashJsonRaw" -o json
OS and CLI version
Windows, Linux, CLi v0.225.0
Is this a regression?
Did this work in a previous version of the CLI?: No
Debug Logs
Output logs if you run the command with debug logs enabled. Example: databricks clusters list --log-level=debug. Redact if needed