tSnowflakeOutput Standard properties
These properties are used to configure tSnowflakeOutput running in the Standard Job framework.
The Standard tSnowflakeOutput component belongs to the Cloud family.
The component in this framework is available in all Talend products.
Basic settings
Database |
Select a type of database from the list and click Apply. |
Property Type |
Select the way the connection details will be set.
This property is not available when other connection component is selected from the Connection Component drop-down list. |
Connection Component |
Select the component that opens the database connection to be reused by this component. |
Account |
In the Account field, enter, in double quotation marks, the account name that has been assigned to you by Snowflake. |
Snowflake Region |
Select an AWS region or an Azure region from the Snowflake Region drop-down list. This field is available only when Use this Component is selected from the Connection Component drop-down list and the Use Custom Snowflake Region option is not selected in the Advanced settings view. |
User Id and Password |
Enter, in double quotation marks, your authentication information to log in Snowflake.
|
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. |
Table |
Click the [...] button and in the displayed wizard, select the Snowflake table to be used. |
Schema and Edit Schema |
A schema is a row description. It defines the number of fields (columns) to be processed and passed on to the next component. When you create a Spark Job, avoid the reserved word line when naming the fields. Built-In: You create and store the schema locally for this component only. Repository: You have already created the schema and stored it in the Repository. You can reuse it in various projects and Job designs. If the Snowflake data type to be handled is VARIANT, OBJECT or ARRAY, while defining the schema in the component, select String for the corresponding data in the Type column of the schema editor wizard. Click Edit schema to make changes to the schema. If the current schema is of the Repository type, three options are available:
Note that if the input value of any non-nullable primitive field is null, the row of data including that field will be rejected. This component offers the advantage of the dynamic schema feature. This allows you to retrieve unknown columns from source files or to copy batches of columns from a source without mapping each column individually. For further information about dynamic schemas, see Talend Studio User Guide. This dynamic schema feature is designed for the purpose of retrieving unknown columns of a table and is recommended to be used for this purpose only; it is not recommended for the use of creating tables. |
Output Action |
Select the operation to insert, delete, update or merge data in Snowflake tables. The Upsert operation allows you to merge data in a Snowflake table based on the data that is passed to tSnowflakeOutput. After selecting Upsert, select the column to be used as the join key of this operation. |
Advanced settings
Additional JDBC Parameters |
Specify additional connection properties for the database connection you are creating. The properties are separated by semicolon and each property is a key-value pair, for example, encryption=1;clientname=Talend. This field is available only when you select Use this Component from the Connection Component drop-down list and select Internal from the Storage drop-down list in the Basic settings view. |
Use Custom Snowflake Region |
Select this check box to specify a custom
Snowflake region. This option is available only when you select Use this Component from the Connection Component drop-down list in the
Basic settings view.
|
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. |
Tracing |
Select the log level for the Snowflake JDBC driver. If enabled, a standard Java log is generated. |
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. |
Allow Snowflake to convert columns and tables to uppercase |
Select this check box to convert lowercase in the defined table name and schema column names to uppercase. Note that unquoted identifiers should match the Snowflake Identifier Syntax. If you deselect the check box, all identifiers are automatically quoted. This property is not available when you select the Manual Query check box. For more information on the Snowflake Identifier Syntax, see Identifier Syntax. |
Custom DB Type | Select this check box to specify the DB type for each
column in the schema. This property is available only when you select an action with Create Table from the Table Action drop down list in the Basic settings. |
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
NB_LINE |
The number of rows processed. This is an After variable and it returns an integer. |
NB_SUCCESS |
The number of rows successfully processed. This is an After variable and it returns an integer. |
NB_REJECT |
The number of rows rejected. This is an After variable and it returns an integer. |
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 end component of a data flow in your Job. It receives data from other components via a Row > Main link. It can also send error messages to other components via a Row > Rejects link. The provided information about an error could be:
|