You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/data-factory/copy-activity-schema-and-type-mapping.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ ms.author: jingwang
18
18
---
19
19
# Schema mapping in copy activity
20
20
21
-
This article describes how Azure Data Factory copy activity does schema mapping and data type mapping from source data to sink data when execute the data copy.
21
+
This article describes how the Azure Data Factory copy activity does schema mapping and data type mapping from source data to sink data when executing the data copy.
22
22
23
23
## Schema mapping
24
24
@@ -89,7 +89,7 @@ The following properties are supported under `translator` -> `mappings` -> objec
| name | Name of the source or sink column. | Yes |
91
91
| ordinal | Column index. Start with 1. <br>Apply and required when using delimited text without header line. | No |
92
-
| path | JSON path expression for each field to extract or map. Apply for hierarchical data e.g. MongoDB/REST.<br>For fields under root object, JSON path starts with root $; for fields inside the array chosen by `collectionReference` property, JSON path starts from the array element. | No |
92
+
| path | JSON path expression for each field to extract or map. Apply for hierarchical data e.g. MongoDB/REST.<br>For fields under the root object, the JSON path starts with root $; for fields inside the array chosen by `collectionReference` property, JSON path starts from the array element. | No |
93
93
| type | Data Factory interim data type of the source or sink column. | No |
94
94
| culture | Culture of the source or sink column. <br>Apply when type is `Datetime` or `Datetimeoffset`. The default is `en-us`. | No |
95
95
| format | Format string to be used when type is `Datetime` or `Datetimeoffset`. Refer to [Custom Date and Time Format Strings](https://docs.microsoft.com/dotnet/standard/base-types/custom-date-and-time-format-strings) on how to format datetime. | No |
@@ -102,14 +102,14 @@ The following properties are supported under `translator` -> `mappings` in addit
102
102
103
103
### Alternative column mapping
104
104
105
-
You can specify copy activity -> `translator` -> `columnMappings` to map between tabular-shaped data . In this case, "structure" section is required for both input and output datasets. Column mapping supports **mapping all or subset of columns in the source dataset "structure" to all columns in the sink dataset "structure"**. The following are error conditions that result in an exception:
105
+
You can specify copy activity -> `translator` -> `columnMappings` to map between tabular-shaped data . In this case, the "structure" section is required for both input and output datasets. Column mapping supports **mapping all or subset of columns in the source dataset "structure" to all columns in the sink dataset "structure"**. The following are error conditions that result in an exception:
106
106
107
107
* Source data store query result does not have a column name that is specified in the input dataset "structure" section.
108
108
* Sink data store (if with pre-defined schema) does not have a column name that is specified in the output dataset "structure" section.
109
109
* Either fewer columns or more columns in the "structure" of sink dataset than specified in the mapping.
110
110
* Duplicate mapping.
111
111
112
-
In the following example, the input dataset has a structure and it points to a table in an on-premises Oracle database.
112
+
In the following example, the input dataset has a structure, and it points to a table in an on-premises Oracle database.
0 commit comments