Skip to main content Skip to complementary content

tSnowflakeConnection Standard properties

These properties are used to configure tSnowflakeConnection running in the Standard Job framework.

The Standard tSnowflakeConnection component belongs to the Cloud family.

The component in this framework is available in all Talend products.

Information noteNote: This component is a specific version of a dynamic database connector. The properties related to database settings vary depending on your database type selection. For more information about dynamic database connectors, see DB Generic components.

Basic settings

Database

Select the desired database type from the list and click Apply.

Property Type

Select the way the connection details will be set.

  • Built-In: The connection details will be set locally for this component. You need to specify the values for all related connection properties manually.

  • Repository: The connection details stored centrally in Repository > Metadata will be reused by this component.

    You need to click the [...] button next to it and in the pop-up Repository Content dialog box, select the connection details to be reused, and all related connection properties will be automatically filled in.

Account

In the Account field, enter, in double quotation marks, the account name that has been assigned to you by Snowflake.

Authentication Type

Set the authentication type.

  • Basic: Select this option if key pair authentication is not enabled.

  • Key Pair: Select this option if key pair authentication is enabled.

    See Using Key Pair Authentication for related information.

  • OAuth 2.0: Select this option to use external OAuth for data accessing.

    See External OAuth Overview for related information.

Information noteNote: Before selecting the Key Pair option, make sure you have set the key pair authentication data in the Basic settings view of the tSetKeystore component as follows.
  1. Leave the TrustStore type field unchanged.
  2. Set TrustStore file to "".
  3. Clear the TrustStore password field.
  4. Select Need Client authentication.
  5. Enter the path to the key store file in double quotation marks in the KeyStore file field (or click the […] button to the right of the KeyStore file field and navigate to the key store file).
  6. Enter the key store file password in the KeyStore password field.
  7. Clear the Check server identity option.
OAuth token endpoint Enter OAuth 2.0 token endpoint.

This option is available when OAuth 2.0 is selected from the Authentication Type drop-down list.

Client ID Enter the client ID of your application.

This option is available when OAuth 2.0 is selected from the Authentication Type drop-down list.

Client Secret Enter the client secret of your application.

This option is available when OAuth 2.0 is selected from the Authentication Type drop-down list.

Grant type Set the grant type for retrieving the access token. Two options are provided: Client Credentials and Password.

Click Client Credentials and Resource Owner Password Credentials for related information.

This option is available when OAuth 2.0 is selected from the Authentication Type drop-down list.

OAuth username Enter the OAuth username.

This option is available when Password is selected from the Grant type drop-down list.

OAuth password Enter the OAuth password.

To enter the password, click the [...] button next to the password field, enter the password between double quotes in the pop-up dialog box, and then click OK to save the settings.

This option is available when Password is selected from the Grant type drop-down list.

Information noteNote: OAuth password does not support spaces.
Scope Enter the scope. See Scopes for related information.

This option is available when OAuth 2.0 is selected from the Authentication Type drop-down list.

User Id Enter your login name in double quotation marks.
Password Click the [...] button next to the Password field, enter the password in double quotation marks in the pop-up dialog box, and click OK.

This field is available if Basic is selected from the Authentication Type drop-down list.

Key Alias Enter the key pair alias in double quotation marks.

This field is available if Key Pair is selected from the Authentication Type drop-down list.

Warehouse

Enter, in double quotation marks, the name of the Snowflake warehouse to be used. This name is case-sensitive and is normally upper case in Snowflake.

Schema

Enter, within double quotation marks, the name of the database schema to be used. This name is case-sensitive and is normally upper case in Snowflake.

Database

Enter, in double quotation marks, the name of the Snowflake database to be used. This name is case-sensitive and is normally upper case in Snowflake.

Advanced settings

Auto Commit Select this option to automatically commit the changes made to the current database when the connection to the database is terminated.

This option is selected by default.

Information noteNote: This option has no effect on the tSnowflakeOutput and tSnowflakeRow components.
Additional JDBC Parameters

Specify additional JDBC parameters for the database connection created.

Login Timeout

Specify the timeout period (in minutes) of Snowflake login attempts. An error will be generated if no response is received in this period.

Role

Enter, in double quotation marks, the default access control role to use to initiate the Snowflake session.

This role must already exist and has been granted to the user ID you are using to connect to Snowflake. If this field is left empty, the PUBLIC role is automatically granted. For information about Snowflake access control model, see Understanding the Access Control Model.

Region ID (Deprecated) Enter a region ID in double quotation marks, for example eu-west-1 or east-us-2.azure. For information about Snowflake Region ID, see Supported Cloud Regions.

For Snowflake components other than tSnowflakeConnection, this field is available when you select Use This Component from the Connection Component drop-down list in the Basic settings view.

URL suffix

Enter, in double quotation marks, the Snowflake custom domain URL of your choice. For more information about Snowflake URL formats, see Standard account URLs.

For Snowflake components other than tSnowflakeConnection, this field is available when you select Use This Component from the Connection Component drop-down list in the Basic settings view.

tStatCatcher Statistics

Select this check box to gather the Job processing metadata at the Job level as well as at each component level.

Global variables

ERROR_MESSAGE

The error message generated by the component when an error occurs. This is an After variable and it returns a string.

Usage

Usage rule This component is more commonly used with other Snowflake components. It creates a Snowflake connection and works with other subJobs that reuse this connection using a Trigger link.
Tracing Snowflake JDBC logs If you wish to merge the Snowflake JDBC driver logs with the logs of the current Job, add this JVM argument, -Dnet.snowflake.jdbc.loggerImpl=net.snowflake.client.log.JDK14Logger, in the Run > Advanced settings tab of the Job you are running.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!