Skip to content

Commit a0d761a

Browse files
committed
Update
1 parent f8933ab commit a0d761a

File tree

1 file changed

+43
-9
lines changed

1 file changed

+43
-9
lines changed

articles/data-factory/connector-greenplum.md

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

6767
## Linked service properties
6868

69-
If you use version 2.0 (Preview), the following properties are supported for Greenplum linked service:
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.
70+
71+
- [Version 2.0](#version-20)
72+
- [Version 1.0](#version-10)
73+
74+
### Version 2.0
75+
76+
The Greenplum linked service supports the following properties when apply version 2.0:
7077

7178
| Property | Description | Required |
7279
|:--- |:--- |:--- |
7380
| type | The type property must be set to: **Greenplum** | Yes |
7481
| version | The version that you specify. The value is `2.0`. | Yes |
7582
| host | Specifies the host name - and optionally port - on which database is running. | Yes |
76-
| port | The TCP port of the database server. | No |
83+
| port | The TCP port of the database server. The default value is `5432`.| No |
7784
| database | The database to connect to. | Yes |
7885
| username | The username to connect with. Not required if using IntegratedSecurity. |Yes |
79-
| password| The password to connect with. Not required if using IntegratedSecurity. | Yes |
86+
| password| The password to connect with. Not required if using IntegratedSecurity. You can also choose to [reference a secret stored in Azure Key Vault](store-credentials-in-key-vault.md). | Yes |
8087
| sslMode | Controls whether SSL is used, depending on server support. <br/>- **Disable**: SSL is disabled. If the server requires SSL, the connection will fail. <br/>- **Allow**: Prefer non-SSL connections if the server allows them, but allow SSL connections. <br/>- **Prefer**: Prefer SSL connections if the server allows them, but allow connections without SSL. <br/>- **Require**: Fail the connection if the server doesn't support SSL. <br/>- **Verify-ca**: Fail the connection if the server doesn't support SSL. Also verifies server certificate. <br/>- **Verify-full**: Fail the connection if the server doesn't support SSL. Also verifies server certificate with host's name. <br/> Options: Disable (0) / Allow (1) / Prefer (2) / Require (3) **(Default)** / Verify-ca (4) / Verify-full (5) | Yes |
8188
| authenticationType | Authentication type for connecting to the database. Only supports **Basic**. | Yes |
8289
| connectVia | The [Integration Runtime](concepts-integration-runtime.md) to be used to connect to the data store. Learn more from [Prerequisites](#prerequisites) section. If not specified, it uses the default Azure Integration Runtime. |No |
8390
| ***Additional connection properties:*** | | |
84-
| connectionTimeout | The time to wait (in seconds) while trying to establish a connection before terminating the attempt and generating an error. The default value is 15. | No |
85-
| commandTimeout | The time to wait (in seconds) while trying to execute a command before terminating the attempt and generating an error. Set to zero for infinity. The default value is 30. | No |
91+
| connectionTimeout | The time to wait (in seconds) while trying to establish a connection before terminating the attempt and generating an error. The default value is `15`. | No |
92+
| commandTimeout | The time to wait (in seconds) while trying to execute a command before terminating the attempt and generating an error. Set to zero for infinity. The default value is `30`. | No |
8693

8794
**Example:**
8895

@@ -141,7 +148,9 @@ If you use version 2.0 (Preview), the following properties are supported for Gre
141148
}
142149
```
143150

144-
If you use version 1.0, the following properties are supported:
151+
### Version 1.0
152+
153+
The Greenplum linked service supports the following properties when apply version 1.0:
145154

146155
| Property | Description | Required |
147156
|:--- |:--- |:--- |
@@ -167,6 +176,31 @@ If you use version 1.0, the following properties are supported:
167176
}
168177
```
169178

179+
**Example: store password in Azure Key Vault**
180+
```json
181+
{
182+
"name": "GreenplumLinkedService",
183+
"properties": {
184+
"type": "Greenplum",
185+
"typeProperties": {
186+
"connectionString": "HOST=<server>;PORT=<port>;DB=<database>;UID=<user name>;",
187+
"pwd": {
188+
"type": "AzureKeyVaultSecret",
189+
"store": {
190+
"referenceName": "<Azure Key Vault linked service name>",
191+
"type": "LinkedServiceReference"
192+
},
193+
"secretName": "<secretName>"
194+
}
195+
},
196+
"connectVia": {
197+
"referenceName": "<name of Integration Runtime>",
198+
"type": "IntegrationRuntimeReference"
199+
}
200+
}
201+
}
202+
```
203+
170204
## Dataset properties
171205

172206
For a full list of sections and properties available for defining datasets, see the [datasets](concepts-datasets-linked-services.md) article. This section provides a list of properties supported by Greenplum dataset.
@@ -244,7 +278,7 @@ To copy data from Greenplum, set the source type in the copy activity to **Green
244278

245279
## Data type mapping for Greenplum
246280

247-
When copying data from Greenplum, the following mappings are used from Greenplum 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.
281+
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).
248282

249283
|Greenplum data type | Interim service data type (for version 2.0) | Interim service data type (for version 1.0) |
250284
|:---|:---|:---|
@@ -306,9 +340,9 @@ To learn details about the properties, check [Lookup activity](control-flow-look
306340

307341
Here are steps that help you upgrade your Greenplum connector:
308342

309-
1. In**Edit linked service page**, select**2.0 (Preview)**under**Version**and configure the linked service by referring to[Linked service properties](#linked-service-properties).
343+
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).
310344

311-
1. The data type mapping for the latest Greenplum linked service is different from that for version 1.0. To learn the latest data type mapping, see [Data type mapping for Greenplum](#data-type-mapping-for-greenplum).
345+
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).
312346

313347
## Related content
314348
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)