-
Notifications
You must be signed in to change notification settings - Fork 165
Expand file tree
/
Copy pathdatabricks.yml
More file actions
56 lines (51 loc) · 1.51 KB
/
databricks.yml
File metadata and controls
56 lines (51 loc) · 1.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
variables:
my_variable:
type: "complex"
default:
key: "value"
my_variable_invalid:
type: "INVALID_TYPE"
default: "value"
my_variable_type_missing:
default: "value"
my_variable_type_empty:
type: ""
default: "value"
resources:
jobs:
my_job_valid:
tasks:
- task_key: "task1"
# Valid enum value
run_if: "ALL_SUCCESS"
notebook_task:
# Valid enum value
source: "GIT"
notebook_path: "/path/to/notebook"
new_cluster:
# Valid enum values
runtime_engine: "PHOTON"
data_security_mode: "SINGLE_USER"
aws_attributes:
availability: "ON_DEMAND"
ebs_volume_type: "GENERAL_PURPOSE_SSD"
node_type_id: "i3.xlarge"
num_workers: 1
my_job_invalid:
tasks:
- task_key: "task2"
# Invalid enum value - should trigger warning
run_if: "INVALID_CONDITION"
notebook_task:
# Invalid enum value - should trigger warning
source: "INVALID_SOURCE"
notebook_path: "/path/to/notebook"
new_cluster:
# Invalid enum values - should trigger warnings
runtime_engine: "INVALID_ENGINE"
data_security_mode: "INVALID_MODE"
aws_attributes:
availability: "INVALID_AVAILABILITY"
ebs_volume_type: "INVALID_VOLUME_TYPE"
node_type_id: "i3.xlarge"
num_workers: 1