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/connector-greenplum.md
+65-56Lines changed: 65 additions & 56 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,14 +66,14 @@ The following sections provide details about properties that are used to define
66
66
67
67
## Linked service properties
68
68
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.
70
70
71
-
-[Version 2.0](#version-20)
71
+
-[Version 2.0 (Preview)](#version-20-preview)
72
72
-[Version 1.0](#version-10)
73
73
74
-
### Version 2.0
74
+
### Version 2.0 (Preview)
75
75
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):
77
77
78
78
| Property | Description | Required |
79
79
|:--- |:--- |:--- |
@@ -124,6 +124,7 @@ The Greenplum linked service supports the following properties when apply versio
124
124
"name": "GreenplumLinkedService",
125
125
"properties": {
126
126
"type": "Greenplum",
127
+
"version": "2.0",
127
128
"typeProperties": {
128
129
"host": "<host>",
129
130
"port": 5432,
@@ -281,57 +282,57 @@ To copy data from Greenplum, set the source type in the copy activity to **Green
281
282
282
283
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).
283
284
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) |
|`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|
335
336
336
337
## Lookup activity properties
337
338
@@ -341,9 +342,17 @@ To learn details about the properties, check [Lookup activity](control-flow-look
341
342
342
343
Here are steps that help you upgrade your Greenplum connector:
343
344
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.
345
352
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 |
347
356
348
357
## Related content
349
358
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