diff --git a/articles/data-factory/connector-snowflake.md b/articles/data-factory/connector-snowflake.md index 6308f57db4362..e9ab3af98bb03 100644 --- a/articles/data-factory/connector-snowflake.md +++ b/articles/data-factory/connector-snowflake.md @@ -725,7 +725,7 @@ The following table shows the release stage and change logs for different versio | Version | Release stage | Change log | | :----------- | :------- |:------- | | Snowflake V1 | Removed | Not applicable. | -| Snowflake V2 (version 1.0) | GA version available | • Add support for Key pair authentication.

• Add support for `storageIntegration` in Copy activity.

• The `accountIdentifier`, `warehouse`, `database`, `schema` and `role` properties are used to establish a connection instead of `connectionstring` property.

• Add support for Decimal in Lookup activity. The NUMBER type, as defined in Snowflake, will be displayed as a string in Lookup activity. If you want to covert it to numeric type in V2, you can use the pipeline parameter with [int function](control-flow-expression-language-functions.md#int) or [float function](control-flow-expression-language-functions.md#float). For example, `int(activity('lookup').output.firstRow.VALUE)`, `float(activity('lookup').output.firstRow.VALUE)`

• timestamp data type in Snowflake is read as DateTimeOffset data type in Lookup and Script activity. If you still need to use the Datetime value as a parameter in your pipeline after upgrading to V2, you can convert DateTimeOffset type to DateTime type by using [formatDateTime function](control-flow-expression-language-functions.md#formatdatetime) (recommended) or [concat function](control-flow-expression-language-functions.md#concat). For example: `formatDateTime(activity('lookup').output.firstRow.DATETIMETYPE)`, `concat(substring(activity('lookup').output.firstRow.DATETIMETYPE, 0, 19), 'Z')`

• NUMBER (p,0) is read as Decimal data type.

• TIMESTAMP_LTZ, TIMESTAMP_NTZ and TIMESTAMP_TZ is read as DateTimeOffset data type.

• Script parameters are not supported in Script activity. As an alternative, utilize dynamic expressions for script parameters. For more information, see [Expressions and functions in Azure Data Factory and Azure Synapse Analytics](control-flow-expression-language-functions.md).

• Multiple SQL statements execution in Script activity is not supported. | +| Snowflake V2 (version 1.0) | GA version available | • Add support for Key pair authentication.

• Add support for `storageIntegration` in Copy activity.

• The `accountIdentifier`, `warehouse`, `database`, `schema` and `role` properties are used to establish a connection instead of `connectionstring` property.

• Add support for Decimal in Lookup activity. The NUMBER type, as defined in Snowflake, will be displayed as a string in Lookup activity. If you want to convert it to numeric type in V2, you can use the pipeline parameter with [int function](control-flow-expression-language-functions.md#int) or [float function](control-flow-expression-language-functions.md#float). For example, `int(activity('lookup').output.firstRow.VALUE)`, `float(activity('lookup').output.firstRow.VALUE)`

• timestamp data type in Snowflake is read as DateTimeOffset data type in Lookup and Script activity. If you still need to use the Datetime value as a parameter in your pipeline after upgrading to V2, you can convert DateTimeOffset type to DateTime type by using [formatDateTime function](control-flow-expression-language-functions.md#formatdatetime) (recommended) or [concat function](control-flow-expression-language-functions.md#concat). For example: `formatDateTime(activity('lookup').output.firstRow.DATETIMETYPE)`, `concat(substring(activity('lookup').output.firstRow.DATETIMETYPE, 0, 19), 'Z')`

• NUMBER (p,0) is read as Decimal data type.

• TIMESTAMP_LTZ, TIMESTAMP_NTZ and TIMESTAMP_TZ is read as DateTimeOffset data type.

• Script parameters are not supported in Script activity. As an alternative, utilize dynamic expressions for script parameters. For more information, see [Expressions and functions in Azure Data Factory and Azure Synapse Analytics](control-flow-expression-language-functions.md).

• Multiple SQL statements execution in Script activity is not supported. | | Snowflake V2 (version 1.1) | GA version available | • Add support for script parameters.

• Add support for multiple statement execution in Script activity.

• Add `treatDecimalAsString` property in Lookup and Script activity.

• Add additional connection property `UseUtcTimestamps`.| ### Upgrade the Snowflake connector from V1 to V2