File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -185,6 +185,9 @@ type ContinuousConf struct {
185185 PauseStatus string `json:"pause_status,omitempty" tf:"computed"`
186186}
187187
188+ type Queue struct {
189+ }
190+
188191// JobSettings contains the information for configuring a job on databricks
189192type JobSettings struct {
190193 Name string `json:"name,omitempty" tf:"default:Untitled"`
@@ -222,6 +225,7 @@ type JobSettings struct {
222225 EmailNotifications * EmailNotifications `json:"email_notifications,omitempty" tf:"suppress_diff"`
223226 WebhookNotifications * WebhookNotifications `json:"webhook_notifications,omitempty" tf:"suppress_diff"`
224227 Tags map [string ]string `json:"tags,omitempty"`
228+ Queue * Queue `json:"queue,omitempty"`
225229}
226230
227231func (js * JobSettings ) isMultiTask () bool {
Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ func TestResourceJobCreate(t *testing.T) {
4545 MinRetryIntervalMillis : 5000 ,
4646 RetryOnTimeout : true ,
4747 MaxConcurrentRuns : 1 ,
48+ Queue : & Queue {},
4849 },
4950 Response : Job {
5051 JobID : 789 ,
@@ -78,6 +79,7 @@ func TestResourceJobCreate(t *testing.T) {
7879 TimezoneID : "America/Los_Angeles" ,
7980 PauseStatus : "PAUSED" ,
8081 },
82+ Queue : & Queue {},
8183 },
8284 },
8385 },
@@ -103,7 +105,8 @@ func TestResourceJobCreate(t *testing.T) {
103105 }
104106 library {
105107 jar = "dbfs://ff/gg/hh.jar"
106- }` ,
108+ }
109+ queue {}` ,
107110 }.Apply (t )
108111 assert .NoError (t , err )
109112 assert .Equal (t , "789" , d .Id ())
You can’t perform that action at this time.
0 commit comments