@@ -6,7 +6,7 @@ author: jianleishen
6
6
ms.subservice : data-movement
7
7
ms.custom : synapse
8
8
ms.topic : conceptual
9
- ms.date : 04/14 /2025
9
+ ms.date : 07/28 /2025
10
10
ms.author : jianleishen
11
11
---
12
12
@@ -277,47 +277,47 @@ When copying data from MySQL, the following mappings are used from MySQL data ty
277
277
278
278
| MySQL data type | Interim service data type (for version 2.0)| Interim service data type (for version 1.0) |
279
279
| :--- | :--- | :--- |
280
- | ` bigint ` | ` Int64 ` | ` Int64 ` |
281
- | ` bigint unsigned ` | ` Decimal ` | ` Decimal ` |
282
- | ` bit (1)` | ` UInt64 ` | ` Boolean ` |
283
- | ` bit (M), M>1` | ` UInt64 ` | ` Byte[] ` |
284
- | ` blob ` | ` Byte[] ` | ` Byte[] ` |
285
- | ` bool ` | ` Boolean ` <br />(If TreatTinyAsBoolean=false, it is mapped as ` SByte ` . TreatTinyAsBoolean is true by default ) | ` Int16 ` |
286
- | ` char ` | ` String ` | ` String ` |
287
- | ` date ` | ` Datetime ` | ` Datetime ` |
288
- | ` datetime ` | ` Datetime ` | ` Datetime ` |
289
- | ` decimal ` | ` Decimal ` | ` Decimal, String ` |
290
- | ` double ` | ` Double ` | ` Double ` |
291
- | ` double precision ` | ` Double ` | ` Double ` |
292
- | ` enum ` | ` String ` | ` String ` |
293
- | ` float ` | ` Single ` | ` Single ` |
294
- | ` int ` | ` Int32 ` | ` Int32 ` |
295
- | ` int unsigned ` | ` Int64 ` | ` Int64 ` |
296
- | ` integer ` | ` Int32 ` | ` Int32 ` |
297
- | ` integer unsigned ` | ` Int64 ` | ` Int64 ` |
298
- | ` JSON ` | ` String ` | - |
299
- | ` long varbinary ` | ` Byte[] ` | ` Byte[] ` |
300
- | ` long varchar ` | ` String ` | ` String ` |
301
- | ` longblob ` | ` Byte[] ` | ` Byte[] ` |
302
- | ` longtext ` | ` String ` | ` String ` |
303
- | ` mediumblob ` | ` Byte[] ` | ` Byte[] ` |
304
- | ` mediumint ` | ` Int32 ` | ` Int32 ` |
305
- | ` mediumint unsigned ` | ` Int64 ` | ` Int64 ` |
306
- | ` mediumtext ` | ` String ` | ` String ` |
307
- | ` numeric ` | ` Decimal ` | ` Decimal ` |
308
- | ` real ` | ` Double ` | ` Double ` |
309
- | ` set ` | ` String ` | ` String ` |
310
- | ` smallint ` | ` Int16 ` | ` Int16 ` |
311
- | ` smallint unsigned ` | ` Int32 ` | ` Int32 ` |
312
- | ` text ` | ` String ` | ` String ` |
313
- | ` time ` | ` TimeSpan ` | ` TimeSpan ` |
314
- | ` timestamp ` | ` Datetime ` | ` Datetime ` |
315
- | ` tinyblob ` | ` Byte[] ` | ` Byte[] ` |
316
- | ` tinyint ` | ` SByte ` < br /> ( ` tinyint(1) ` is mapped to ` Boolean ` ) | ` Int16 ` |
317
- | ` tinyint unsigned` | ` Int16 ` | ` Int16 ` |
318
- | ` tinytext ` | ` String ` | ` String ` |
319
- | ` varchar ` | ` String ` | ` String ` |
320
- | ` year ` | ` Int ` | ` Int ` |
280
+ | BIGINT | Int64 | Int64 |
281
+ | BIGINT UNSIGNED | UInt64 | Decimal |
282
+ | BIT (1) | UInt64 | Boolean |
283
+ | BIT (M), M>1 | UInt64 | Byte[ ] |
284
+ | BLOB | Byte[ ] | Byte[ ] |
285
+ | BOOL | Boolean <br />(If TreatTinyAsBoolean=false, it is mapped as SByte. TreatTinyAsBoolean is true by default) | Int16 |
286
+ | CHAR | String | String |
287
+ | DATE | Datetime | Datetime |
288
+ | DATETIME | Datetime | Datetime |
289
+ | DECIMAL | Decimal | Decimal, String |
290
+ | DOUBLE | Double | Double |
291
+ | DOUBLE PRECISION | Double | Double |
292
+ | ENUM | String | String |
293
+ | FLOAT | Single | Single |
294
+ | INT | Int32 | Int32 |
295
+ | INT UNSIGNED | Int64 | Int64 |
296
+ | INTEGER | Int32 | Int32 |
297
+ | INTEGER UNSIGNED | UInt32 | Int64 |
298
+ | JSON | String | Byte [ ] |
299
+ | LONG VARBINARY | Byte[ ] | Byte[ ] |
300
+ | LONG VARCHAR | String | String |
301
+ | LONGBLOB | Byte[ ] | Byte[ ] |
302
+ | LONGTEXT | String | String |
303
+ | MEDIUMBLOB | Byte[ ] | Byte[ ] |
304
+ | MEDIUMINT | Int32 | Int32 |
305
+ | MEDIUMINT UNSIGNED | UInt32 | Int64 |
306
+ | MEDIUMTEXT | String | String |
307
+ | NUMERIC | Decimal | Decimal |
308
+ | REAL | Double | Double |
309
+ | SET | String | String |
310
+ | SMALLINT | Int16 | Int16 |
311
+ | SMALLINT UNSIGNED | UInt16 | Int32 |
312
+ | TEXT | String | String |
313
+ | TIME | TimeSpan | TimeSpan |
314
+ | TIMESTAMP | Datetime | Datetime |
315
+ | TINYBLOB | Byte[ ] | Byte[ ] |
316
+ | TINYINT | SByte | Int16 |
317
+ | TINYINT unsigned | Int16 | Int16 |
318
+ | TINYTEXT | String | String |
319
+ | VARCHAR | String | String |
320
+ | YEAR | Int | Int |
321
321
322
322
## Lookup activity properties
323
323
@@ -351,10 +351,16 @@ The table below shows the data type mapping differences between MySQL using vers
351
351
352
352
| MySQL data type | Interim service data type (using version 2.0) | Interim service data type (using version 1.0)|
353
353
| :---| :---| :---|
354
- | bit(1)| UInt64| Boolean|
355
- | bit(M), M>1| UInt64| Byte[ ] |
356
- | bool| Boolean| Int16|
354
+ | BIGINT UNSIGNED| UInt64| Decimal|
355
+ | BIT(1)| UInt64| Boolean|
356
+ | BIT(M), M>1| UInt64| Byte[ ] |
357
+ | BOOL| Boolean| Int16|
358
+ | DECIMAL | Decimal | Decimal, String |
359
+ | INTEGER UNSIGNED | UInt32| Int64|
357
360
| JSON| String| Byte[ ] |
361
+ | MEDIUMINT UNSIGNED | UInt32| Int64|
362
+ | SMALLINT UNSIGNED | UInt16| Int32|
363
+ | TINYINT | SByte| Int16|
358
364
359
365
## Related content
360
366
0 commit comments