-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
76 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Iterating | ||
|
||
|
||
``` | ||
databricks lakeview get 01ef69c6a1b61c85a97505155d58015e --output json | jq -r .serialized_dashboard | jq -S . > dashboard.lvdash.json | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"pages": [ | ||
{ | ||
"displayName": "New Page", | ||
"layout": [ | ||
{ | ||
"position": { | ||
"height": 2, | ||
"width": 6, | ||
"x": 0, | ||
"y": 0 | ||
}, | ||
"widget": { | ||
"name": "82eb9107", | ||
"textbox_spec": "# hi another new foobar change! if I change this remotely" | ||
} | ||
}, | ||
{ | ||
"position": { | ||
"height": 2, | ||
"width": 6, | ||
"x": 0, | ||
"y": 2 | ||
}, | ||
"widget": { | ||
"name": "ffa6de4f", | ||
"textbox_spec": "another widget" | ||
} | ||
} | ||
], | ||
"name": "fdd21a3c" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
bundle: | ||
name: dashboard-eng-work | ||
|
||
workspace: | ||
host: https://e2-dogfood.staging.cloud.databricks.com | ||
|
||
variables: | ||
# 0 - Shared SQL Warehouse (ID: dd43ee29fedd958d) | ||
warehouse_id: | ||
default: dd43ee29fedd958d | ||
|
||
permissions: | ||
- group_name: users | ||
level: CAN_VIEW | ||
|
||
resources: | ||
dashboards: | ||
my_special_dashboard: | ||
# TODO: | ||
# * rename display_name to just "name" | ||
# * remove parent_path, optionally let it be specified as part of "name", | ||
# just like we do for mlflow experiments. | ||
# * default the parent_path to ${workspace.resource_path}. | ||
display_name: "Foobar" | ||
parent_path: ${workspace.file_path} | ||
warehouse_id: ${var.warehouse_id} | ||
definition_path: ./dashboard.lvdash.json | ||
|
||
|
||
# # file_path: ./dashboard.lvdash.json | ||
|
||
# catalog: ${var.default_catalog} | ||
# schema: ${var.default_schema} | ||
|
||
|
||
#https://e2-dogfood.staging.cloud.databricks.com/dashboardsv3/01ef692961381515beac094aa0a82cd5/published?o=6051921418418893 |