From 041683be0cdb0426e8980f1a64cbce91241bee73 Mon Sep 17 00:00:00 2001 From: David Zhao Date: Mon, 4 Nov 2019 17:37:45 +0800 Subject: [PATCH 1/2] [Datafactory] Enable SQL DW Copy Command --- .../2018-06-01/entityTypes/Pipeline.json | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json index 0ab21be73251..e8b24fb4337b 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json @@ -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)." @@ -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", From 2874419d9f054e394658848a336363186626a111 Mon Sep 17 00:00:00 2001 From: David Zhao Date: Mon, 4 Nov 2019 18:03:40 +0800 Subject: [PATCH 2/2] Add MAXERRORS into custom-words.txt --- custom-words.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/custom-words.txt b/custom-words.txt index d49cb82d4bc6..4022dfbe2c54 100644 --- a/custom-words.txt +++ b/custom-words.txt @@ -820,6 +820,7 @@ mariadb Marketo marketplaceagreementsapi marketplaceordering +MAXERRORS maximumblobsize maxmemory maxpagesize