Skip to content

Commit c1f03bb

Browse files
davidzhaoyueDavid Zhao
authored andcommitted
[Datafactory] Enable Type Conversion in Copy Activity (Azure#9471)
Co-authored-by: David Zhao <[email protected]>
1 parent 8449561 commit c1f03bb

File tree

1 file changed

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

1 file changed

+38
-0
lines changed

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

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4388,6 +4388,44 @@
43884388
"mappings": {
43894389
"type": "object",
43904390
"description": "Column mappings with logical types. Tabular->tabular example: [{\"source\":{\"name\":\"CustomerName\",\"type\":\"String\"},\"sink\":{\"name\":\"ClientName\",\"type\":\"String\"}},{\"source\":{\"name\":\"CustomerAddress\",\"type\":\"String\"},\"sink\":{\"name\":\"ClientAddress\",\"type\":\"String\"}}]. Hierarchical->tabular example: [{\"source\":{\"path\":\"$.CustomerName\",\"type\":\"String\"},\"sink\":{\"name\":\"ClientName\",\"type\":\"String\"}},{\"source\":{\"path\":\"$.CustomerAddress\",\"type\":\"String\"},\"sink\":{\"name\":\"ClientAddress\",\"type\":\"String\"}}]. Type: object (or Expression with resultType object)."
4391+
},
4392+
"typeConversion": {
4393+
"type": "object",
4394+
"description": "Whether to enable the advanced type conversion feature in the Copy activity. Type: boolean (or Expression with resultType boolean)."
4395+
},
4396+
"typeConversionSettings": {
4397+
"description": "Type conversion settings",
4398+
"$ref": "#/definitions/TypeConversionSettings"
4399+
}
4400+
}
4401+
},
4402+
"TypeConversionSettings": {
4403+
"description": "Type conversion settings",
4404+
"type": "object",
4405+
"properties": {
4406+
"allowDataTruncation": {
4407+
"type": "object",
4408+
"description": "Whether to allow data truncation when converting the data. Type: boolean (or Expression with resultType boolean)."
4409+
},
4410+
"treatBooleanAsNumber": {
4411+
"type": "object",
4412+
"description": "Whether to treat boolean values as numbers. Type: boolean (or Expression with resultType boolean)."
4413+
},
4414+
"dateTimeFormat": {
4415+
"type": "object",
4416+
"description": "The format for DateTime values. Type: string (or Expression with resultType string)."
4417+
},
4418+
"dateTimeOffsetFormat": {
4419+
"type": "object",
4420+
"description": "The format for DateTimeOffset values. Type: string (or Expression with resultType string)."
4421+
},
4422+
"timeSpanFormat": {
4423+
"type": "object",
4424+
"description": "The format for TimeSpan values. Type: string (or Expression with resultType string)."
4425+
},
4426+
"culture": {
4427+
"type": "object",
4428+
"description": "The culture used to convert data from/to string. Type: string (or Expression with resultType string)."
43914429
}
43924430
}
43934431
},

0 commit comments

Comments
 (0)