Skip to content

Commit 5505c83

Browse files
Merge pull request #287698 from jonburchel/patch-43
Update connector-snowflake.md
2 parents abbf8f7 + d6acd59 commit 5505c83

File tree

1 file changed

+69
-1
lines changed

1 file changed

+69
-1
lines changed

articles/data-factory/connector-snowflake.md

Lines changed: 69 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -684,7 +684,75 @@ For more information about the properties, see [Lookup activity](control-flow-lo
684684

685685
## Upgrade the Snowflake linked service
686686

687-
To upgrade the Snowflake linked service, create a new Snowflake linked service and configure it by referring to [Linked service properties](#linked-service-properties).
687+
To upgrade the Snowflake linked service, you can do a side-by-side upgrade, or an in-place upgrade.
688+
689+
### Side-by-side upgrade
690+
691+
To perform a side-by-side upgrade, complete the following steps:
692+
693+
1. Create a new Snowflake linked service and configure it by referring to the linked service properties.
694+
1. Create a dataset based on the newly created Snowflake linked service.
695+
1. Replace the new linked service and dataset with the existing ones in the pipelines that targets the legacy objects.
696+
697+
### In-place upgrade
698+
699+
To perform an in-place upgrade, you need to edit the existing linked service payload.
700+
701+
1. Update the type from ‘Snowflake’ to ‘SnowflakeV2’.
702+
2. Modify the linked service payload from its legacy format to the new pattern. You can either fill in each field from the user interface after changing the type mentioned above, or update the payload directly through the JSON Editor. Refer to the [Linked service properties](#linked-service-properties) section in this article for the supported connection properties. The following examples show the differences in payload for the legacy and new Snowflake connectors:
703+
704+
**Legacy Snowflake connector JSON payload:**
705+
```json
706+
{
707+
    "name": "Snowflake1",
708+
    "type": "Microsoft.DataFactory/factories/linkedservices",
709+
    "properties": {
710+
        "annotations": [],
711+
        "type": "Snowflake",
712+
        "typeProperties": {
713+
            "authenticationType": "Basic",
714+
            "connectionString": "jdbc:snowflake://<fake_account>.snowflakecomputing.com/?user=FAKE_USER&db=FAKE_DB&warehouse=FAKE_DW&schema=PUBLIC",
715+
            "encryptedCredential": "<placeholder>"
716+
        },
717+
        "connectVia": {
718+
            "referenceName": "AzureIntegrationRuntime",
719+
            "type": "IntegrationRuntimeReference"
720+
        }
721+
    }
722+
}
723+
```
724+
725+
**New Snowflake connector JSON payload:**
726+
```json
727+
{
728+
    "name": "Snowflake2",
729+
    "type": "Microsoft.DataFactory/factories/linkedservices",
730+
    "properties": {
731+
        "parameters": {
732+
          "schema": {
733+
                "type": "string",
734+
                "defaultValue": "PUBLIC"
735+
            }
736+
        },
737+
        "annotations": [],
738+
        "type": "SnowflakeV2",
739+
        "typeProperties": {
740+
            "authenticationType": "Basic",
741+
            "accountIdentifier": "<FAKE_Account",
742+
            "user": "FAKE_USER",
743+
            "database": "FAKE_DB",
744+
            "warehouse": "FAKE_DW",
745+
            "encryptedCredential": "<placeholder>"
746+
        },
747+
        "connectVia": {
748+
            "referenceName": "AutoResolveIntegrationRuntime",
749+
            "type": "IntegrationRuntimeReference"
750+
        }
751+
    }
752+
}
753+
```
754+
755+
1. Update dataset to use the new linked service. You can either create a new dataset based on the newly created linked service, or update an existing dataset's type property from _SnowflakeTable_ to _SnowflakeV2Table_.
688756

689757
## Differences between Snowflake and Snowflake (legacy)
690758

0 commit comments

Comments
 (0)