Skip to content

Commit 3efd9a9

Browse files
authored
[datafactory] add table lock and upsert properties (#14975)
* add table lock and upsert properties * update naming * add description and properties for sqlSink
1 parent e79143f commit 3efd9a9

File tree

1 file changed

+122
-0
lines changed
  • specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes

1 file changed

+122
-0
lines changed

specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json

Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4141,6 +4141,19 @@
41414141
"tableOption": {
41424142
"type": "object",
41434143
"description": "The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is supported. Type: string (or Expression with resultType string)."
4144+
},
4145+
"sqlWriterUseTableLock": {
4146+
"type": "object",
4147+
"description": "Whether to use table lock during bulk copy. Type: boolean (or Expression with resultType boolean)."
4148+
},
4149+
"writeBehavior": {
4150+
"type": "object",
4151+
"description": "Write behavior when copying data into sql. Type: SqlWriteBehaviorEnum (or Expression with resultType SqlWriteBehaviorEnum)"
4152+
},
4153+
"upsertSettings": {
4154+
"description": "SQL upsert settings.",
4155+
"type": "object",
4156+
"$ref": "#/definitions/SqlUpsertSettings"
41444157
}
41454158
}
41464159
},
@@ -4179,6 +4192,19 @@
41794192
"tableOption": {
41804193
"type": "object",
41814194
"description": "The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is supported. Type: string (or Expression with resultType string)."
4195+
},
4196+
"sqlWriterUseTableLock": {
4197+
"type": "object",
4198+
"description": "Whether to use table lock during bulk copy. Type: boolean (or Expression with resultType boolean)."
4199+
},
4200+
"writeBehavior": {
4201+
"type": "object",
4202+
"description": "Write behavior when copying data into sql server. Type: SqlWriteBehaviorEnum (or Expression with resultType SqlWriteBehaviorEnum)"
4203+
},
4204+
"upsertSettings": {
4205+
"description": "SQL upsert settings.",
4206+
"type": "object",
4207+
"$ref": "#/definitions/SqlUpsertSettings"
41824208
}
41834209
}
41844210
},
@@ -4217,6 +4243,19 @@
42174243
"tableOption": {
42184244
"type": "object",
42194245
"description": "The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is supported. Type: string (or Expression with resultType string)."
4246+
},
4247+
"sqlWriterUseTableLock": {
4248+
"type": "object",
4249+
"description": "Whether to use table lock during bulk copy. Type: boolean (or Expression with resultType boolean)."
4250+
},
4251+
"writeBehavior": {
4252+
"type": "object",
4253+
"description": "Write behavior when copying data into Azure SQL. Type: SqlWriteBehaviorEnum (or Expression with resultType SqlWriteBehaviorEnum)"
4254+
},
4255+
"upsertSettings": {
4256+
"description": "SQL upsert settings.",
4257+
"type": "object",
4258+
"$ref": "#/definitions/SqlUpsertSettings"
42204259
}
42214260
}
42224261
},
@@ -4255,6 +4294,19 @@
42554294
"tableOption": {
42564295
"type": "object",
42574296
"description": "The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is supported. Type: string (or Expression with resultType string)."
4297+
},
4298+
"sqlWriterUseTableLock": {
4299+
"type": "object",
4300+
"description": "Whether to use table lock during bulk copy. Type: boolean (or Expression with resultType boolean)."
4301+
},
4302+
"writeBehavior": {
4303+
"type": "object",
4304+
"description": "White behavior when copying data into azure SQL MI. Type: SqlWriteBehaviorEnum (or Expression with resultType SqlWriteBehaviorEnum)"
4305+
},
4306+
"upsertSettings": {
4307+
"description": "SQL upsert settings.",
4308+
"type": "object",
4309+
"$ref": "#/definitions/SqlUpsertSettings"
42584310
}
42594311
}
42604312
},
@@ -4290,6 +4342,19 @@
42904342
"tableOption": {
42914343
"type": "object",
42924344
"description": "The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is supported. Type: string (or Expression with resultType string)."
4345+
},
4346+
"sqlWriterUseTableLock": {
4347+
"type": "object",
4348+
"description": "Whether to use table lock during bulk copy. Type: boolean (or Expression with resultType boolean)."
4349+
},
4350+
"writeBehavior": {
4351+
"type": "object",
4352+
"description": "Write behavior when copying data into azure SQL DW. Type: SqlDWWriteBehaviorEnum (or Expression with resultType SqlDWWriteBehaviorEnum)"
4353+
},
4354+
"upsertSettings": {
4355+
"description": "SQL DW upsert settings.",
4356+
"type": "object",
4357+
"$ref": "#/definitions/SqlDWUpsertSettings"
42934358
}
42944359
}
42954360
},
@@ -4364,6 +4429,63 @@
43644429
}
43654430
}
43664431
},
4432+
"SqlUpsertSettings": {
4433+
"description": "Sql upsert option settings",
4434+
"type": "object",
4435+
"properties": {
4436+
"useTempDB": {
4437+
"type": "object",
4438+
"description": "Specifies whether to use temp db for upsert interim table. Type: boolean (or Expression with resultType boolean)."
4439+
},
4440+
"interimSchemaName": {
4441+
"type": "object",
4442+
"description": "Schema name for interim table. Type: string (or Expression with resultType string)."
4443+
},
4444+
"keys": {
4445+
"type": "object",
4446+
"description": "Key column names for unique row identification. Type: array of strings (or Expression with resultType array of strings)."
4447+
}
4448+
}
4449+
},
4450+
"SqlDWUpsertSettings": {
4451+
"description": "Sql DW upsert option settings",
4452+
"type": "object",
4453+
"properties": {
4454+
"interimSchemaName": {
4455+
"type": "object",
4456+
"description": "Schema name for interim table. Type: string (or Expression with resultType string)."
4457+
},
4458+
"keys": {
4459+
"type": "object",
4460+
"description": "Key column names for unique row identification. Type: array of strings (or Expression with resultType array of strings)."
4461+
}
4462+
}
4463+
},
4464+
"SqlWriteBehaviorEnum": {
4465+
"description": "Specify the write behavior when copying data into sql.",
4466+
"type": "string",
4467+
"enum": [
4468+
"Insert",
4469+
"Upsert",
4470+
"StoredProcedure"
4471+
],
4472+
"x-ms-enum": {
4473+
"name": "SqlWriteBehaviorEnum",
4474+
"modelAsString": true
4475+
}
4476+
},
4477+
"SqlDWWriteBehaviorEnum": {
4478+
"description": "Specify the write behavior when copying data into sql dw.",
4479+
"type": "string",
4480+
"enum": [
4481+
"Insert",
4482+
"Upsert"
4483+
],
4484+
"x-ms-enum": {
4485+
"name": "SqlDWWriteBehaviorEnum",
4486+
"modelAsString": true
4487+
}
4488+
},
43674489
"SnowflakeSink": {
43684490
"description": "A copy activity snowflake sink.",
43694491
"type": "object",

0 commit comments

Comments
 (0)