Skip to content

Commit

Permalink
[Datafactory] Enable SQL DW Copy Command (#7700)
Browse files Browse the repository at this point in the history
* [Datafactory] Enable SQL DW Copy Command

* Add MAXERRORS into custom-words.txt
  • Loading branch information
davidzhaoyue authored and xseeseesee committed Nov 6, 2019
1 parent e5ec899 commit f737f83
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
1 change: 1 addition & 0 deletions custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -820,6 +820,7 @@ mariadb
Marketo
marketplaceagreementsapi
marketplaceordering
MAXERRORS
maximumblobsize
maxmemory
maxpagesize
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3222,6 +3222,14 @@
"description": "Specifies PolyBase-related settings when allowPolyBase is true.",
"$ref": "#/definitions/PolybaseSettings"
},
"allowCopyCommand": {
"type": "object",
"description": "Indicates to use Copy Command to copy data into SQL Data Warehouse. Type: boolean (or Expression with resultType boolean)."
},
"copyCommandSettings": {
"description": "Specifies Copy Command related settings when allowCopyCommand is true.",
"$ref": "#/definitions/DWCopyCommandSettings"
},
"tableOption": {
"type": "object",
"description": "The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is supported. Type: string (or Expression with resultType string)."
Expand Down Expand Up @@ -3265,6 +3273,40 @@
"modelAsString": true
}
},
"DWCopyCommandSettings": {
"description": "DW Copy Command settings.",
"type": "object",
"properties": {
"defaultValues": {
"type": "array",
"description": "Specifies the default values for each target column in SQL DW. The default values in the property overwrite the DEFAULT constraint set in the DB, and identity column cannot have a default value. Type: array of objects (or Expression with resultType array of objects).",
"items": {
"$ref": "#/definitions/DWCopyCommandDefaultValue"
}
},
"additionalOptions": {
"type": "object",
"description": "Additional options directly passed to SQL DW in Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: \"additionalOptions\": { \"MAXERRORS\": \"1000\", \"DATEFORMAT\": \"'ymd'\" }",
"additionalProperties": {
"type": "string"
}
}
}
},
"DWCopyCommandDefaultValue": {
"description": "Default value.",
"type": "object",
"properties": {
"columnName": {
"type": "object",
"description": "Column name. Type: object (or Expression with resultType string)."
},
"defaultValue": {
"type": "object",
"description": "The default value of the column. Type: object (or Expression with resultType string)."
}
}
},
"LogStorageSettings": {
"description": "Log storage settings.",
"type": "object",
Expand Down

0 comments on commit f737f83

Please sign in to comment.