Skip to content

Commit 48fa0c4

Browse files
committed
Update version 2.0 (preview) and add differences section
1 parent 0a6face commit 48fa0c4

File tree

1 file changed

+65
-56
lines changed

1 file changed

+65
-56
lines changed

articles/data-factory/connector-greenplum.md

Lines changed: 65 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -66,14 +66,14 @@ The following sections provide details about properties that are used to define
6666

6767
## Linked service properties
6868

69-
The Greenplum connector now supports version 2.0. Refer to this [section](#upgrade-the-greenplum-connector) to upgrade your Greenplum connector version from version 1.0. For the property details, see the corresponding sections.
69+
The Greenplum connector now supports version 2.0 (Preview). Refer to this [section](#upgrade-the-greenplum-connector) to upgrade your Greenplum connector version from version 1.0. For the property details, see the corresponding sections.
7070

71-
- [Version 2.0](#version-20)
71+
- [Version 2.0 (Preview)](#version-20-preview)
7272
- [Version 1.0](#version-10)
7373

74-
### Version 2.0
74+
### Version 2.0 (Preview)
7575

76-
The Greenplum linked service supports the following properties when apply version 2.0:
76+
The Greenplum linked service supports the following properties when apply version 2.0 (Preview):
7777

7878
| Property | Description | Required |
7979
|:--- |:--- |:--- |
@@ -124,6 +124,7 @@ The Greenplum linked service supports the following properties when apply versio
124124
"name": "GreenplumLinkedService",
125125
"properties": {
126126
"type": "Greenplum",
127+
"version": "2.0",
127128
"typeProperties": {
128129
"host": "<host>",
129130
"port": 5432,
@@ -281,57 +282,57 @@ To copy data from Greenplum, set the source type in the copy activity to **Green
281282

282283
When you copy data from Greenplum, the following mappings apply from Greenplum's data types to the internal data types used by the service. To learn about how the copy activity maps the source schema and data type to the sink, see [Schema and data type mappings](copy-activity-schema-and-type-mapping.md).
283284

284-
|Greenplum data type | Interim service data type (for version 2.0) | Interim service data type (for version 1.0) |
285+
|Greenplum data type | Interim service data type (for version 2.0 (Preview)) | Interim service data type (for version 1.0) |
285286
|:---|:---|:---|
286-
|`SmallInt`|`Int16`|`Int16`|
287-
|`Integer`|`Int32`|`Int32`|
288-
|`BigInt`|`Int64`|`Int64`|
289-
|`Decimal` (Precision <= 28)|`IBigDecimal`|`Decimal`|
290-
|`Decimal` (Precision > 28)|`IBigDecimal` |`String`|
291-
|`Numeric`|`IBigDecimal`|`Decimal`|
292-
|`Real`|`Single`|`Single`|
293-
|`Double`|`Double`|`Double`|
294-
|`SmallSerial`|`Int16`|`Int16`|
295-
|`Serial`|`Int32`|`Int32`|
296-
|`BigSerial`|`Int64`|`Int64`|
297-
|`Money`|`IBigDecimal`|`String`|
298-
|`Char`|`String`|`String`|
299-
|`Varchar`|`String`|`String`|
300-
|`Text`|`String`|`String`|
301-
|`Bytea`|`Byte[]`|`Byte[]`|
302-
|`Timestamp`|`DateTime`|`DateTime`|
303-
|`Timestamp with time zone`|`DateTimeOffset`|`String`|
304-
|`Date`|`Date`|`DateTime`|
305-
|`Time`|`TimeSpan`|`TimeSpan`|
306-
|`Time with time zone`|`DateTimeOffset`|`String`|
307-
|`Interval`|`TimeSpan`|`String`|
308-
|`Boolean`|`Boolean`|`Boolean`|
309-
|`Point`|`String`|`String`|
310-
|`Line`|`String`|`String`|
311-
|`Iseg`|`String`|`String`|
312-
|`Box`|`String`|`String`|
313-
|`Path`|`String`|`String`|
314-
|`Polygon`|`String`|`String`|
315-
|`Circle`|`String`|`String`|
316-
|`Cidr`|`String`|`String`|
317-
|`Inet`|`String`|`String`|
318-
|`Macaddr`|`String`|`String`|
319-
|`Macaddr8`|`String`|`String`|
320-
|`Tsvector`|`String`|`String`|
321-
|`Tsquery`|`String`|`String`|
322-
|`UUID`|`Guid`|`Guid`|
323-
|`Json`|`String`|`String`|
324-
|`Jsonb`|`String`|`String`|
325-
|`Array`|`String`|`String`|
326-
|`Bit`|`Byte[]`|`Byte[]`|
327-
|`Bit varying`|`Byte[]`|`Byte[]`|
328-
|`XML`|`String`|`String`|
329-
|`IntArray`|`String`|`String`|
330-
|`TextArray`|`String`|`String`|
331-
|`NumericArray`|`String`|`String`|
332-
|`DateArray`|`String`|`String`|
333-
|`Range`|`String`|`String`|
334-
|`Bpchar`|`String`|`String`|
287+
|SmallInt|Int16|Int16|
288+
|Integer|Int32|Int32|
289+
|BigInt|Int64|Int64|
290+
|Decimal (Precision <= 28)|Decimal|Decimal|
291+
|Decimal (Precision > 28)|Decimal |String|
292+
|Numeric|Decimal|Decimal|
293+
|Real|Single|Single|
294+
|Double|Double|Double|
295+
|SmallSerial|Int16|Int16|
296+
|Serial|Int32|Int32|
297+
|BigSerial|Int64|Int64|
298+
|Money|Decimal|String|
299+
|Char|String|String|
300+
|Varchar|String|String|
301+
|Text|String|String|
302+
|Bytea|Byte[]|Byte[]|
303+
|Timestamp|DateTime|DateTime|
304+
|Timestamp with time zone|DateTimeOffset|String|
305+
|Date|Date|DateTime|
306+
|Time|TimeSpan|TimeSpan|
307+
|Time with time zone|DateTimeOffset|String|
308+
|Interval|TimeSpan|String|
309+
|Boolean|Boolean|Boolean|
310+
|Point|String|String|
311+
|Line|String|String|
312+
|Iseg|String|String|
313+
|Box|String|String|
314+
|Path|String|String|
315+
|Polygon|String|String|
316+
|Circle|String|String|
317+
|Cidr|String|String|
318+
|Inet|String|String|
319+
|Macaddr|String|String|
320+
|Macaddr8|String|String|
321+
|Tsvector|String|String|
322+
|Tsquery|String|String|
323+
|UUID|Guid|Guid|
324+
|Json|String|String|
325+
|Jsonb|String|String|
326+
|Array|String|String|
327+
|Bit|Byte[]|Byte[]|
328+
|Bit varying|Byte[]|Byte[]|
329+
|XML|String|String|
330+
|IntArray|String|String|
331+
|TextArray|String|String|
332+
|NumericArray|String|String|
333+
|DateArray|String|String|
334+
|Range|String|String|
335+
|Bpchar|String|String|
335336

336337
## Lookup activity properties
337338

@@ -341,9 +342,17 @@ To learn details about the properties, check [Lookup activity](control-flow-look
341342

342343
Here are steps that help you upgrade your Greenplum connector:
343344

344-
1. In **Edit linked service** page, select **2.0 (Preview)** under **Version** and configure the linked service by referring to [linked service version 2.0 properties](#version-20).
345+
1. In **Edit linked service** page, select version 2.0 (Preview) and configure the linked service by referring to [linked service version 2.0 (Preview) properties](#version-20-preview).
346+
347+
2. The data type mapping for the Greenplum linked service version 2.0 (Preview) is different from that for the version 1.0. To learn the latest data type mapping, see [Data type mapping for Greenplum](#data-type-mapping-for-greenplum).
348+
349+
## Differences between Greenplum version 2.0 (Preview) and version 1.0
350+
351+
The Greenplum connector version 2.0 (Preview) offers new functionalities and is compatible with most features of version 1.0. The table below shows the feature differences between version 2.0 (Preview) and version 1.0.
345352

346-
2. The data type mapping for the Greenplum linked service version 2.0 is different from that for the version 1.0. To learn the latest data type mapping, see [Data type mapping for Greenplum](#data-type-mapping-for-greenplum).
353+
| Version 2.0 (Preview) | Version 1.0 |
354+
| --- | --- |
355+
| The following mappings are used from Greenplum data types to interim service data type. <br><br> Decimal (Precision > 28) -> Decimal <br> Money -> Decimal <br> Timestamp with time zone -> DateTimeOffset <br>Time with time zone -> DateTimeOffset <br>Interval -> TimeSpan | The following mappings are used from Greenplum data types to interim service data type. <br><br> Decimal (Precision > 28) -> String <br> Money -> String <br> Timestamp with time zone ->String <br>Time with time zone -> String <br>Interval -> String |
347356

348357
## Related content
349358
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)