Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Datafactory] Enable SQL DW Copy Command #7700

Merged
merged 2 commits into from
Nov 6, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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