Skip to content

Commit 63c72a7

Browse files
committed
Update data type
1 parent 8b42105 commit 63c72a7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/data-factory/connector-presto.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -242,8 +242,8 @@ When you copy data from Presto, the following mappings apply from Presto's data
242242
| BOOLEAN | Boolean | Boolean |
243243
| CHAR | String | String |
244244
| DATE | Date | Datetime |
245-
| DECIMAL (Precision < 28) | BigDecimal | Decimal |
246-
| DECIMAL (Precision >= 28) | BigDecimal | String |
245+
| DECIMAL (Precision < 28) | Decimal | Decimal |
246+
| DECIMAL (Precision >= 28) | Decimal | String |
247247
| DOUBLE | Double | Decimal |
248248
| INTEGER | Int32 | Int32 |
249249
| INTERVAL_DAY_TO_SECOND | TimeSpan | Not supported. |
@@ -281,7 +281,7 @@ The Presto connector version 2.0 (Preview) offers new functionalities and is com
281281

282282
| Version 2.0 (Preview) | Version 1.0 |
283283
| :----------- | :------- |
284-
| The following mappings are used from Presto data types to interim service data type.<br><br>DATE -> Date <br>DECIMAL (Precision < 28) -> BigDecimal <br>DECIMAL (Precision >= 28) -> BigDecimal <br> DOUBLE -> Double <br>INTERVAL_DAY_TO_SECOND -> TimeSpan <br>INTERVAL_YEAR_TO_MONTH -> String<br>IPADDRESS -> String<br>TIME -> Time<br>TIMESTAMPWITHTIMEZONE -> Datetimeoffset<br>TINYINT -> SByte<br>UUID -> Guid| The following mappings are used from Presto data types to interim service data type.<br><br>DATE -> Datetime <br>DECIMAL (Precision < 28) -> Decimal <br>DECIMAL (Precision >= 28) -> String <br>DOUBLE -> Decimal <br>TIME -> TimeSpan<br>TINYINT -> Int16<br> Other mappings supported by version 2.0 (Preview) listed left are not supported by version 1.0. |
284+
| The following mappings are used from Presto data types to interim service data type.<br><br>DATE -> Date <br>DECIMAL (Precision >= 28) -> Decimal <br> DOUBLE -> Double <br>INTERVAL_DAY_TO_SECOND -> TimeSpan <br>INTERVAL_YEAR_TO_MONTH -> String<br>IPADDRESS -> String<br>TIME -> Time<br>TIMESTAMPWITHTIMEZONE -> Datetimeoffset<br>TINYINT -> SByte<br>UUID -> Guid| The following mappings are used from Presto data types to interim service data type.<br><br>DATE -> Datetime <br>DECIMAL (Precision >= 28) -> String <br>DOUBLE -> Decimal <br>TIME -> TimeSpan<br>TINYINT -> Int16<br> Other mappings supported by version 2.0 (Preview) listed left are not supported by version 1.0. |
285285

286286
## Related content
287287
For a list of data stores supported as sources and sinks by the copy activity, see [supported data stores](copy-activity-overview.md#supported-data-stores-and-formats).

0 commit comments

Comments
 (0)