Skip to content

Commit 7c1de64

Browse files
committed
add workflows job config
1 parent 2b47a70 commit 7c1de64

File tree

1 file changed

+105
-0
lines changed
  • retail_demo/02-data-eng-streaming/jobs

1 file changed

+105
-0
lines changed
Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
# Workflows job config
2+
3+
```json
4+
{
5+
"settings": {
6+
"name": "ADB TPCH Workflow ",
7+
"email_notifications": {
8+
"no_alert_for_skipped_runs": false
9+
},
10+
"timeout_seconds": 0,
11+
"max_concurrent_runs": 1,
12+
"tasks": [
13+
{
14+
"task_key": "create_database",
15+
"notebook_task": {
16+
"notebook_path": "/Repos/[email protected]/adb-essentials-retail-demo/03-data-engineering/jobs/create_database",
17+
"base_parameters": {
18+
"database": "adb_tpch_10_4_photon"
19+
}
20+
},
21+
"existing_cluster_id": "0414-085951-iybtghtf",
22+
"timeout_seconds": 0,
23+
"email_notifications": {},
24+
"description": ""
25+
},
26+
{
27+
"task_key": "source_to_staging_dims",
28+
"depends_on": [
29+
{
30+
"task_key": "create_database"
31+
}
32+
],
33+
"notebook_task": {
34+
"notebook_path": "/Repos/[email protected]/adb-essentials-retail-demo/03-data-engineering/jobs/source_to_staging_dimension_tables",
35+
"base_parameters": {
36+
"database": "adb_tpch_10_4_photon"
37+
}
38+
},
39+
"existing_cluster_id": "0414-085951-iybtghtf",
40+
"timeout_seconds": 0,
41+
"email_notifications": {},
42+
"description": ""
43+
},
44+
{
45+
"task_key": "source_to_staging_facts",
46+
"depends_on": [
47+
{
48+
"task_key": "create_database"
49+
}
50+
],
51+
"notebook_task": {
52+
"notebook_path": "/Repos/[email protected]/adb-essentials-retail-demo/03-data-engineering/jobs/source_to_staging_fact_tables",
53+
"base_parameters": {
54+
"database": "adb_tpch_10_4_photon"
55+
}
56+
},
57+
"existing_cluster_id": "0414-085951-iybtghtf",
58+
"timeout_seconds": 0,
59+
"email_notifications": {},
60+
"description": ""
61+
},
62+
{
63+
"task_key": "staging_to_processed_facts",
64+
"depends_on": [
65+
{
66+
"task_key": "source_to_staging_dims"
67+
},
68+
{
69+
"task_key": "source_to_staging_facts"
70+
}
71+
],
72+
"notebook_task": {
73+
"notebook_path": "/Repos/[email protected]/adb-essentials-retail-demo/03-data-engineering/jobs/staging_to_processed_facts",
74+
"base_parameters": {
75+
"database": "adb_tpch_10_4_photon"
76+
}
77+
},
78+
"existing_cluster_id": "0414-085951-iybtghtf",
79+
"timeout_seconds": 0,
80+
"email_notifications": {},
81+
"description": ""
82+
},
83+
{
84+
"task_key": "processed_to_aggregates",
85+
"depends_on": [
86+
{
87+
"task_key": "staging_to_processed_facts"
88+
}
89+
],
90+
"notebook_task": {
91+
"notebook_path": "/Repos/[email protected]/adb-essentials-retail-demo/03-data-engineering/jobs/processed_to_aggregates",
92+
"base_parameters": {
93+
"database": "adb_tpch_10_4_photon"
94+
}
95+
},
96+
"existing_cluster_id": "0414-085951-iybtghtf",
97+
"timeout_seconds": 0,
98+
"email_notifications": {},
99+
"description": ""
100+
}
101+
],
102+
"format": "MULTI_TASK"
103+
}
104+
}
105+
```

0 commit comments

Comments
 (0)