Skip to content

Commit ae135a0

Browse files
committed
Update data type for legacy
1 parent 99b2fb5 commit ae135a0

File tree

1 file changed

+43
-43
lines changed

1 file changed

+43
-43
lines changed

articles/data-factory/connector-mysql.md

Lines changed: 43 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -265,49 +265,49 @@ If you were using `RelationalSource` typed source, it is still supported as-is,
265265

266266
When copying data from MySQL, the following mappings are used from MySQL data types to interim data types used by the service internally. See [Schema and data type mappings](copy-activity-schema-and-type-mapping.md) to learn about how copy activity maps the source schema and data type to the sink.
267267

268-
| MySQL data type | Interim service data type |
269-
|:--- |:--- |
270-
| `bigint` |`Int64` |
271-
| `bigint unsigned` |`Decimal` |
272-
| `bit(1)` |`UInt64` |
273-
| `bit(M), M>1`|`UInt64`|
274-
| `blob` |`Byte[]` |
275-
| `bool` |`Boolean` <br/>(If TreatTinyAsBoolean=false, it is mapped as `SByte`. TreatTinyAsBoolean is true by defult ) |
276-
| `char` |`String` |
277-
| `date` |`Datetime` |
278-
| `datetime` |`Datetime` |
279-
| `decimal` |`Decimal` |
280-
| `double` |`Double` |
281-
| `double precision` |`Double` |
282-
| `enum` |`String` |
283-
| `float` |`Single` |
284-
| `int` |`Int32` |
285-
| `int unsigned` |`Int64`|
286-
| `integer` |`Int32` |
287-
| `integer unsigned` |`Int64` |
288-
| `JSON` |`String` |
289-
| `long varbinary` |`Byte[]` |
290-
| `long varchar` |`String` |
291-
| `longblob` |`Byte[]` |
292-
| `longtext` |`String` |
293-
| `mediumblob` |`Byte[]` |
294-
| `mediumint` |`Int32` |
295-
| `mediumint unsigned` |`Int64` |
296-
| `mediumtext` |`String` |
297-
| `numeric` |`Decimal` |
298-
| `real` |`Double` |
299-
| `set` |`String` |
300-
| `smallint` |`Int16` |
301-
| `smallint unsigned` |`Int32` |
302-
| `text` |`String` |
303-
| `time` |`TimeSpan` |
304-
| `timestamp` |`Datetime` |
305-
| `tinyblob` |`Byte[]` |
306-
| `tinyint` |`SByte` |
307-
| `tinyint unsigned` |`Int16` |
308-
| `tinytext` |`String` |
309-
| `varchar` |`String` |
310-
| `year` |`Int` |
268+
| MySQL data type | Interim service data type | Interim service data type (for the legacy driver version) |
269+
|:--- |:--- |:--- |
270+
| `bigint` |`Int64` |`Int64` |
271+
| `bigint unsigned` |`Decimal` |`Decimal` |
272+
| `bit(1)` |`UInt64` |`Boolean` |
273+
| `bit(M), M>1`|`UInt64`|`Byte[]`|
274+
| `blob` |`Byte[]` |`Byte[]` |
275+
| `bool` |`Boolean` <br/>(If TreatTinyAsBoolean=false, it is mapped as `SByte`. TreatTinyAsBoolean is true by defult ) |`Int16` |
276+
| `char` |`String` |`String` |
277+
| `date` |`Datetime` |`Datetime` |
278+
| `datetime` |`Datetime` |`Datetime` |
279+
| `decimal` |`Decimal` |`Decimal, String` |
280+
| `double` |`Double` |`Double` |
281+
| `double precision` |`Double` |`Double` |
282+
| `enum` |`String` |`String` |
283+
| `float` |`Single` |`Single` |
284+
| `int` |`Int32` |`Int32` |
285+
| `int unsigned` |`Int64`|`Int64`|
286+
| `integer` |`Int32` |`Int32` |
287+
| `integer unsigned` |`Int64` |`Int64` |
288+
| `JSON` |`String` |-|
289+
| `long varbinary` |`Byte[]` |`Byte[]` |
290+
| `long varchar` |`String` |`String` |
291+
| `longblob` |`Byte[]` |`Byte[]` |
292+
| `longtext` |`String` |`String` |
293+
| `mediumblob` |`Byte[]` |`Byte[]` |
294+
| `mediumint` |`Int32` |`Int32` |
295+
| `mediumint unsigned` |`Int64` |`Int64` |
296+
| `mediumtext` |`String` |`String` |
297+
| `numeric` |`Decimal` |`Decimal` |
298+
| `real` |`Double` |`Double` |
299+
| `set` |`String` |`String` |
300+
| `smallint` |`Int16` |`Int16` |
301+
| `smallint unsigned` |`Int32` |`Int32` |
302+
| `text` |`String` |`String` |
303+
| `time` |`TimeSpan` |`TimeSpan` |
304+
| `timestamp` |`Datetime` |`Datetime` |
305+
| `tinyblob` |`Byte[]` |`Byte[]` |
306+
| `tinyint` |`SByte` |`Int16` |
307+
| `tinyint unsigned` |`Int16` |`Int16` |
308+
| `tinytext` |`String` |`String` |
309+
| `varchar` |`String` |`String` |
310+
| `year` |`Int` |`Int` |
311311

312312
## Lookup activity properties
313313

0 commit comments

Comments
 (0)