Forum Discussion
NotebookEnjoyer
Advocate II
1 year agoLinks to nested notebook snapshots not loading
I have notebooks in which I run multiple other notebooks via mssparkutils.notebook.run(), which works fine. However, when I want to see snapshots of the sub-runs, the links aren't loading in the top-...
- 1 year ago
I'm sorry to have no better answer, but the issue disappeared yesterday. It takes quite a while to load the fancier new snapshot link layout with the progress bar and such, but it just works. The ticket is thus closed.
BhaveshPatel
Super User
1 year agoI think you have to understand that Microsoft is constantly updating the documentation. First, I think so before a year ago, there was bronze, silver and gold. Now they change the silver to Materialized views.
Choose beforehand, whether you wanna to go to notebooks or dataflow gen 2 to refresh the tables or multiple notebooks with
# Note: NotebookUtils is only supported on runtime v1.2 and above. If you are using runtime v1.1, please use mssparkutils instead.
DAG = {
"activities": [
{
"name": "NotebookSample", # activity name, must be unique
"path": "NotebookSample", # notebook path
"timeoutPerCellInSeconds": 90, # max timeout for each cell, default to 90 seconds
"args": {"p1": "changed value", "p2": 666}, # notebook parameters
},
{
"name": "NotebookSimple2",
"path": "NotebookSimple2",
"timeoutPerCellInSeconds": 120,
"args": {"p1": "changed value 2", "p2": 777}
},
{
"name": "NotebookSample2.2",
"path": "NotebookSample2",
"timeoutPerCellInSeconds": 120,
"args": {"p1": "changed value 3", "p2": 888},
"retry": 1,
"retryIntervalInSeconds": 10,
"dependencies": ["NotebookSample"] # list of activity names that this activity depends on
}
]
}
notebookutils.notebook.runMultiple(DAG)
For thaqt, you have to understand the concept of databricks delta lake and Microsoft.