# tSnowflakeOutputBulkExec

Writes incoming data to files generated in a folder and then loads the data into a Snowflake database table. The folder can be in an internal Snowflake stage, an Amazon Simple Storage Service (Amazon S3) bucket, or an Azure container.

This component incorporates the operations of the tSnowflakeOutputBulk and the tSnowflakeBulkExec components.

Information noteNote:

This component is not shipped with your Talend Studio by default. You need to install it using the Feature Manager. For more information, see [Installing features using the Feature Manager](https://help.qlik.com/talend/r/en-US/8.0/studio-user-guide/install-features-to-talend-studio).

## tSnowflakeOutputBulkExec Standard properties

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

The Standard tSnowflakeOutputBulkExec component belongs to the Cloud family.

The component in this framework is available in all subscription-based 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](https://help.qlik.com/talend/r/en-US/8.0/components/db-generic/db-generic-component).

## Basic settings

| Properties | Description |
| --- | --- |
| Database | Select the desired database type from the list and click<br>Apply. |
| Property Type | Select the way the connection details will be<br>set.<br><br><ul> <li> <span>Built-In</span>: The connection details will be set                                    locally for this component. You need to specify the values for                                    all related connection properties manually.                     </li> <li> <span>Repository</span>: The connection details stored                                    centrally in <span><span>Repository</span><abbr> &gt; </abbr><span>Metadata</span></span> will be reused by this component. You need to                                    click the <span>[...]</span> button                                    next to it and in the pop-up <span>Repository Content</span> dialog box, select the                                    connection details to be reused, and all related connection                                    properties will be automatically filled in.                     </li> </ul><br><br>This property is available when Use this Component is<br>selected from the Connection Component dropdown<br>list. |
| Component list | Select the component that opens the database connection to be reused by this<br>component. |
| Account | In the Account field, enter, in double<br>quotation marks, the account name that has been assigned to you by Snowflake.<br><br>This field is available only when Use this<br>Component is selected from the Connection<br>Component dropdown list. |
| Authentication Type | Set the authentication type.<br><br><ul> <li> <p> <span>Basic</span>: Select this option if key pair                           authentication is not enabled. </p> </li> <li> <p> <span>Key Pair</span>: Select this option if key pair                           authentication is enabled.</p> <p>See <a href="https://docs.snowflake.net/manuals/user-guide/jdbc-configure.html#using-key-pair-authentication" target="_blank">Using Key Pair Authentication</a> for related                           information.</p> </li> <li> <p> <span>OAuth 2.0</span>: Select this option to use external                           OAuth for data accessing.</p> <p>See <a href="https://docs.snowflake.com/en/user-guide/oauth-ext-overview.html" target="_blank">External OAuth Overview</a> for related                           information.</p> </li> </ul><br><br>Information noteNote: Before selecting the Key<br>Pair option, make sure you have set the key pair authentication<br>data in the Basic settings view of the tSetKeystore<br>component as follows.<br><br><ol> <li>Leave the <span>TrustStore type</span> field unchanged.</li> <li>Set <span>TrustStore file</span> to                           <kbd>""</kbd>.</li> <li>Clear the <span>TrustStore password</span> field.</li> <li>Select <span>Need Client authentication</span>.</li> <li>Enter the path to the key store file in double quotation marks in the                              <span>KeyStore file</span> field (or click the                              <span>[…]</span> button to the right of the                              <span>KeyStore file</span> field and navigate to the key                           store file).</li> <li>Enter the key store file password in the <span>KeyStore                              password</span> field.</li> <li>Clear the <span>Check server identity</span> option.</li> </ol> |
| OAuth token endpoint | Enter OAuth 2.0 token endpoint.<br><br>This option is available when<br>OAuth 2.0 is selected from the<br>Authentication Type dropdown list. |
| Client ID | Enter the client ID of your application.<br><br>This option is available when<br>OAuth 2.0 is selected from the<br>Authentication Type dropdown list. |
| Client Secret | Enter the client secret of your application.<br><br>This option is available when<br>OAuth 2.0 is selected from the<br>Authentication Type dropdown list. |
| Grant type | Set the grant type for retrieving the access token. Two options are<br>provided: Client Credentials and<br>Password.<br><br>Click [Client Credentials](https://tools.ietf.org/html/rfc6749#section-1.3.4) and [Resource Owner Password Credentials](https://tools.ietf.org/html/rfc6749#section-1.3.3) for related<br>information.<br><br>This option is available when OAuth<br>2.0 is selected from the Authentication<br>Type dropdown list. |
| OAuth username | Enter the OAuth username.<br><br>This option is available when<br>Password is selected from the Grant<br>type dropdown list. |
| OAuth password | Enter the OAuth password.<br><br>To enter the password, click the [...] button<br>next to the password field, enter the password between double quotes in the<br>pop-up dialog box, and then click OK to save the<br>settings.<br><br>This option is available when Password<br>is selected from the Grant type dropdown<br>list.<br><br>Information noteNote: OAuth password does not support spaces. |
| Scope | Enter the scope. See [Scopes](https://docs.snowflake.com/en/user-guide/oauth-ext-overview.html#scopes) for related information.<br><br>This option is<br>available when OAuth 2.0 is selected from the<br>Authentication Type dropdown list. |
| User Id and Password | Enter, in double quotation marks, your authentication information to<br>log in to Snowflake.<br><br><ul> <li> <p>In the <span>User ID</span> field, enter, in                        double quotation marks, your login name that has been defined in Snowflake                        using the <em>LOGIN_NAME</em> parameter of                        Snowflake. For details, ask the administrator of your Snowflake                    system.</p> </li> <li> <p>To enter the password, click the <span>[...]</span> button         next to the password field, enter the password in double quotes in the pop-up dialog box,         and click <span>OK</span> to save the settings.</p> </li> </ul><br><br>This field is available only when Use this<br>Component is selected from the Connection<br>Component dropdown list. |
| Warehouse | Enter, in double quotation marks, the name of the<br>Snowflake warehouse to be used. This name is case-sensitive and is normally upper<br>case in Snowflake.<br><br>This field is available only when Use this<br>Component is selected from the Connection<br>Component dropdown list. |
| Schema | Enter,<br>within double quotation marks, the name of the database schema to be used. This name<br>is case-sensitive and is normally upper case in Snowflake.<br><br>This field is available only when Use this<br>Component is selected from the Connection<br>Component dropdown list. |
| Database | Enter, in double quotation<br>marks, the name of the Snowflake database to be used. This name is case-sensitive<br>and is normally upper case in Snowflake.<br><br>This field is available only when Use this<br>Component is selected from the Connection<br>Component dropdown list. |
| Table | Click the [...] button and in the displayed wizard, select the<br>Snowflake table to be used.<br><br>To load the data into a new<br>table, select Use custom object in the<br>wizard and enter the name of the new table in Object<br>Name field. |
| Schema and Edit Schema | A schema is a row description. It defines the number of fields<br>(columns) to be processed and passed on to the next component. When you create a Spark<br>Job, avoid the reserved word line when naming the<br>fields.<br><br><br>Built-In: You create and store the schema locally for this component<br>only.<br><br><br>Repository: You have already created the schema and stored it in the<br>Repository. You can reuse it in various projects and Job designs.<br><br>If the Snowflake data type to be handled is VARIANT, OBJECT, or ARRAY, while<br>defining the schema in the component, select String for the<br>corresponding data in the Type column of the schema editor<br>wizard.<br><br>Click Edit<br>schema to make changes to the schema. If the current schema is of the Repository type, three options are available:<br><br><ul> <li> <p> <span>View schema</span>: choose this                option to view the schema only.</p> </li> <li> <p> <span>Change to built-in property</span>:                choose this option to change the schema to <span>Built-in</span> for local changes.</p> </li> <li> <p> <span>Update repository connection</span>:                choose this option to change the schema stored in the repository and decide whether                to propagate the changes to all the Jobs upon completion.</p> <p>If you just want to                propagate the changes to the current Job, you can select <span>No</span> upon completion and choose this schema metadata                again in the <span>Repository Content</span>                window.</p> </li> </ul><br><br>Note that if the input value of any non-nullable<br>primitive field is null, the row of data including that field will be<br>rejected.<br><br>This component offers the advantage of the<br>dynamic schema feature. This allows you to retrieve unknown columns from source<br>files or to copy batches of columns from a source without mapping each column<br>individually. For further information about dynamic schemas, see [Dynamic schema](https://help.qlik.com/talend/r/en-US/8.0/studio-user-guide/dynamic-schema).<br><br>This<br>dynamic schema feature is designed for the purpose of retrieving unknown columns of a<br>table and is recommended to be used for this purpose only; it is not recommended for the<br>use of creating tables. |
| Table Action | Select the action to be carried out to the table.<br><br><ul> <li> <span>NONE</span>: Leave the table as is.</li> <li> <span>DROP_CREATE</span>: Remove the table and create it                        again.</li> <li> <span>CREATE</span>: Create a new table.</li> <li> <span>CREATE_IF_NOT_EXISTS</span>: Create the table if it does not                        exist.</li> <li> <span>DROP_IF_EXISTS_AND_CREATE</span>: Remove the table if it                        already exists and create again.</li> <li> <span>CLEAR</span>: Remove all the data records in the table.</li> <li> <span>TRUNCATE</span>: Remove all the rows in the table. This                        action releases the space occupied by the table.</li> </ul> |
| Output Action | Select the operation you want to perform to the incoming data and data<br>records in the Snowflake database table. You can insert, delete, update, or merge<br>data in the Snowflake table. This option assumes that the Snowflake table<br>specified in Table field already exists.<br><br><ul> <li> <span>INSERT</span>: Insert new records in the Snowflake table.                           <div><span>Information note</span><span>Note:</span> Because this operation uses the Snowflake <span>COPY                              INTO</span> command, which drops the use of temporary tables and                           currently does not support data validation, unexpected results may occur                           when you retrieve rejected records. See <a href="https://docs.snowflake.com/en/user-guide/data-load-transform.html" target="_blank">Transforming Data During a Load</a> for related                           information.</div></li> <li> <span>UPDATE</span>: Update existing records in the Snowflake                        table.</li> <li> <span>UPSERT</span>: Create new records and update existing                        records. You need to specify a schema column as the join key from the                           <span>Upsert Key Column</span> dropdown list or specify to use                        the schema keys for the operation by selecting <span>Use schema keys                           for upsert</span> in the <span>Advanced settings</span>                        view. <div><span>Information note</span><span>Note:</span> The <span>Upsert Key Column</span> dropdown list is                           available when <span>Use schema keys for upsert</span> is not                           selected.</div></li> <li> <span>DELETE</span>: Remove records from the Snowflake table.</li> </ul> |
| Storage | Select the type of storage to upload the incoming data to and to load data<br>into the table from.<br><br><ul> <li> <span>Internal</span>: Store the incoming data in a folder in                           the internal Snowflake storage and then load data from the folder. You                           need also to specify the folder within double quotation marks in                              <span>Stage Folder</span>.</li> <li> <span>S3</span>: Store the incoming data in an Amazon S3 folder                           and then load data from the folder. You need also to provide information                           about your S3 user account, including <span>Region</span>,                              <span>Access Key</span> (within double quotation marks),                              <span>Secret Key</span>, <span>Bucket</span>                           (within double quotation marks), and <span>Folder</span>                           (within double quotation marks).</li> <li> <span>Azure</span>: Store the incoming data in an Azure folder                           and then load data from the folder. You need also to provide information                           about your Azure user account, including <span>Protocol</span>,                              <span>Account Name</span> (within double quotation marks),                              <span>Container</span> (within double quotation marks),                              <span>Folder</span> (within double quotation marks), and                              <span>SAS Token</span>.</li> </ul> |
| Stage Folder | Specify the folder under the Snowflake stage to write incoming data to and<br>to load data from.<br><br>This field is available when you select<br>Internal from the Storage dropdown list<br>in the Basic settings view. |
| Region | Specify the region where the S3 bucket locates.<br><br>This field is available when you select<br>S3 from the Storage dropdown list in<br>the Basic settings view. |
| Access Key and Secret Key | Enter the authentication information required to connect to the Amazon S3<br>bucket to be used.<br><br>To enter the password, click the [...]<br>button next to the password field, and then in the pop-up dialog box enter the<br>password between double quotes and click OK to save the<br>settings.<br><br>This field is available when you select<br>S3 from the Storage dropdown list in<br>the Basic settings view. |
| Bucket | Enter the name of the bucket (in double quotation marks) to be used for<br>storing the incoming data and loading data from. This bucket must already exist.<br><br>This field is available when you select<br>S3 from the Storage dropdown list in<br>the Basic settings view. |
| Folder | Enter the name of the folder (in double quotation marks) to be used for<br>storing the incoming data and loading data from. This folder will be created if it<br>does not exist at runtime.<br><br>This property is available only when<br>S3 or Azure is selected from<br>the Storage drop-down list. |
| Server-Side Encryption | Select this checkbox to encrypt the files to be uploaded to the S3 bucket on<br>the server side. This property is checked by default.<br><br>This field is available when you select<br>S3 from the Storage dropdown list in<br>the Basic settings view. |
| Protocol | Select the protocol used to create Azure connection.<br><br>This field is available when you select<br>Azure from the Storage dropdown list in<br>the Basic settings view. |
| Account Name | Enter the Azure storage account name (in double quotation marks).<br><br>This field is available when you select<br>Azure from the Storage dropdown list in<br>the Basic settings view. |
| Container and Folder | Enter the Azure container and folder names (in double quotation marks).<br><br>This field is available when you select<br>Azure from the Storage dropdown list in<br>the Basic settings view. |
| SAS Token | Specify the SAS token to grant limited access to objects in your storage<br>account.<br><br>To enter the SAS token, click the [...]<br>button next to the SAS token field, and then in the pop-up dialog box enter the<br>password between double quotes and click OK to save the<br>settings.<br><br>This field is available when you select<br>Azure from the Storage dropdown list in<br>the Basic settings view. |

## Advanced settings

| Properties | Description |
| --- | --- |
| Additional JDBC Parameters | Specify additional connection properties for the database connection you are<br>creating. The properties are separated by semicolon and each property is a key-value<br>pair, for example, *encryption=1;clientname=Talend*.<br><br>This field is available only when you select Use<br>this Component from the Connection Component<br>dropdown list and select Internal from the<br>Storage dropdown list in the Basic<br>settings view. |
| Login Timeout | Specify the timeout period (in minutes)<br>of Snowflake login attempts. An error will be generated if no response is received<br>in this period. |
| Role | Enter, in<br>double quotation marks, the default access control role to use to initiate the<br>Snowflake session.<br><br>This role must already exist and<br>has been granted to the user ID you are using to connect to Snowflake. If this field<br>is left empty, the PUBLIC role is automatically granted. For information about<br>Snowflake access control model, see [Understanding the Access Control<br>Model](https://docs.snowflake.net/manuals/user-guide/security-access-control.html). |
| URL suffix | Enter, in double quotation marks, the Snowflake custom domain URL of your<br>choice. For more information about Snowflake URL formats, see [Standard account URLs](https://docs.snowflake.com/en/user-guide/organizations-connect#standard-account-urls).<br><br>For Snowflake components other than tSnowflakeConnection, this field is<br>available when you select Use This Component from the<br>Connection Component drop-down list in the<br>Basic settings view. |
| Allow Snowflake to convert columns and tables to uppercase | Select this checkbox to convert lowercase in the defined table name and<br>schema column names to uppercase. Note that unquoted identifiers should match the<br>Snowflake Identifier Syntax.<br><br>If you deselect the checkbox, all identifiers are<br>automatically quoted.<br><br>This property is not available when you select the<br>Manual Query checkbox.<br><br>For more information on<br>the Snowflake Identifier Syntax, see [Identifier Syntax](https://docs.snowflake.net/manuals/sql-reference/identifiers-syntax.html). |
| Use schema keys for upsert | Select this option to use schema keys for the Upsert operation. This option<br>is available when you select UPSERT from the Output<br>Action dropdown list in the Basic settings<br>view. |
| Use existing database schema as the dynamic schema | If you are using the dynamic schema feature, select this checkbox to pick<br>the schema from the database itself (if the table exists). If this option is not<br>selected, the input schema is used by default. |
| Temporary Table Schema | Specify a schema for the temporary table.<br><br>The schema must<br>exist. |
| Use strict schema matching | Select this option to load incoming data to table columns whose column names<br>are exactly the same as those of the incoming data.<br><br>Column names are case<br>sensitive. If this option is not selected, it is possible that incoming data<br>are not loaded into the corresponding table columns.<br><br>This option is<br>available when INSERT is selected from the<br>Output Action drop-down list in the Basic<br>settings view.<br><br>Information noteNote: This option is available only when you<br>have installed the 8.0.1-R2023-04 Talend Studio Monthly update or a later one delivered by Talend. For more information, check with your administrator. |
| Custom DB Type | Select this checkbox to specify the DB type for each column in the<br>schema.<br><br>This property is available only when you select an action with Create<br>Table from the Table Action drop-down list in the<br>Basic settings. |
| Custom Date type mapping for creating table with dynamic<br>schema | If you are using the dynamic schema feature, select this checkbox to use a<br>custom mapping for your date type date, and then select the mapping from the<br>Convert Date values to dropdown list.<br><br>This option is<br>available when you select the following option from the Table<br>Action dropdown list in the Basic<br>settings view:<br><br><ul> <li> <span>CREATE</span> </li> <li> <span>DROP_CREATE</span> </li> <li> <span>CREATE_IF_NOT_EXISTS</span> </li> </ul> |
| Use schema date pattern | Select this option to convert data<br>in schema columns that are of Date<br>type using the date pattern defined in the schema. To achieve this, you<br>need also to specify the DB type of the schema columns as STRING, TEXT, or VARCHAR in the<br>Custom DB Type<br>field. |
| Delete Storage Files On Success | Delete all the files in the storage folder once the data is loaded to the<br>table successfully.<br><br>This field is not available when you select Use<br>Custom Storage Location. |
| Use Custom Stage Path | Select this checkbox to upload the data to the files generated in a folder<br>under the stage. You need also to enter the path to the folder in the field<br>provided. For example, to upload data to the files generated in<br>myfolder1/myfolder2 under the stage, you need to type<br>"@~/myfolder1/myfolder2" in the field.<br><br>This field is available when you select<br>Internal from the Storage dropdown list<br>in the Basic settings view.<br><br><br>Once selected, the Stage Folder in Basic<br>settings view becomes unavailable. |
| Use Custom S3 Connection Configuration | Select this checkbox if you wish to use your custom S3 configuration.<br><br><ul> <li> <p> <span>Option</span>: select the parameter from the list.</p> </li> <li> <p> <span>Value</span>: enter the parameter value.</p> </li> </ul><br><br>This field is available when you select<br>S3 from the Storage dropdown list in<br>the Basic settings view. |
| Copy Command Options | Set parameters for the COPY INTO command by selecting the following options<br>from the dropdown list. The COPY INTO command is provided by Snowflake. It loads<br>data to a Snowflake database table.<br><br><ul> <li> <span>Default</span>: Carry out the COPY INTO operation using                           the default settings, as listed in the frame to the right. When using                              <span>Default</span>, no read-only command text is                           generated.</li> <li> <span>Table</span>: Set the COPY INTO operation parameters                           using the <span>Options</span> table. To set a parameter, click                           the plus button, select the parameter from the                              <span>Option</span> column, and set the parameter value in                           the <span>Value</span> column.</li> <li> <span>Manual</span>: Set the COPY INTO operation parameters in                           the text frame to the right manually.</li> </ul><br><br><br>For information about the parameters of the COPY INTO command, see [the COPY INTO command](https://docs.snowflake.net/manuals/sql-reference/sql/copy-into-table.html). |
| Put Command Options | Set parameters for the PUT command by selecting the following options from<br>the dropdown list. The PUT command is provided by Snowflake. It uploads data to a<br>Snowflake stage folder.<br><br><ul> <li> <span>Default</span>: Carry out the PUT operation using the                           default settings, as listed in the frame to the right. When using                              <span>Default</span>, no read-only command text is                           generated.</li> <li> <span>Table</span>: Set the PUT operation parameters using the                              <span>Options</span> table. To set a parameter, click the                           plus button, select the parameter from the <span>Option</span>                           column, and set the parameter value in the <span>Value</span>                           column.</li> <li> <span>Manual</span>: Set the PUT operation parameters in the                           text frame to the right manually.</li> </ul><br><br><br>For information about the parameters of the PUT command, see [the PUT command](https://docs.snowflake.net/manuals/sql-reference/sql/put.html).<br><br>This field is available when you select<br>Internal from the Storage dropdown list<br>in the Basic settings view. |
| Put Command Error Retry | Specify the maximum data loading retries when an error occurs during loading<br>data to the internal Snowflake storage. This parameter defaults to 3. A value of<br>-1 specifies the maximum possible retries. Only<br>-1 or positive integers are accepted.<br><br>This field is available when you select<br>Internal from the Storage dropdown list<br>in the Basic settings view. |
| Snowflake access to storage | Specifies the authentication method for the COPY command when accessing the S3<br>bucket. See [Additional Cloud Provider Parameters](https://docs.snowflake.com/en/sql-reference/sql/copy-into-table.html#additional-cloud-provider-parameters) for related information.<br><br>Information noteNote: This option is available when S3 is selected from the Storage drop-down list in the Basic settings view.<br><br><ul> <li> <span>Credentials</span>, uses the S3 credentials for the                        authentication.</li> <li> <span>Storage integration</span>, uses a storage integration for                        the authentication. In this case, enter the integration name in the                           <span>Storage integration</span> field. </li> </ul> |
| S3 assume role | If you temporarily need some access permissions associated to an AWS IAM<br>role that is not granted to your user account, select this checkbox to assume that<br>role. Then specify the values for the following parameters to create a new assumed<br>role session.<br><br>Ensure that access to this<br>role has been granted to your user account by the trust policy associated to<br>this role. If you are not certain about this, ask the owner of this role or<br>your AWS administrator.<br><br>Information noteNote:<br><br><ul> <li>This option is available when <kbd>S3</kbd> is selected from the <span>Storage</span> drop-down list in the <span>Basic settings</span> view.</li> <li>Assumed role temporary credentials are requested from AWS STS in us-east-1 region.</li> </ul><br><br><ul> <li> <p> <span>Role ARN</span>: the Amazon Resource                              Name (ARN) of the role to assume. You can find this ARN name on the                                 <span>Summary</span> page of the role to be used on your                              AWS portal, for example, this role ARN could read like                                 <kbd>am:aws:iam::[aws_account_number]:role/[role_name]</kbd>.                           </p> </li> <li> <p> <span>Role session name</span>: enter the                              name you want to use to uniquely identify your assumed role session.                              This name can contain upper- and lower-case alphanumeric characters                              with no spaces. You can also include underscores or any of the                              following characters: =,.@-. </p> </li> <li> <p> <span>Session duration</span>: the                              duration (in minutes) for which you want the assumed role session to                              be active. This duration cannot exceed the maximum duration which your                              AWS administrator has set. The duration defaults to 15 minutes. </p> </li> </ul><br><br><br>For an example about an IAM role and its related policy types, see [Create and Manage AWS IAM Roles](https://aws.amazon.com/blogs/security/now-create-and-manage-aws-iam-roles-more-easily-with-the-updated-iam-console/) from the AWS<br>documentation. |
| S3 Max Error Retry | Specify the maximum data loading retries when an error occurs during loading<br>data to or from the S3 folder. This parameter defaults to 3. A value of<br>-1 specifies the maximum possible retries. Only<br>-1 or positive integers are accepted.<br><br>This field is available when you select<br>S3 from the Storage dropdown list in<br>the Basic settings view. |
| Azure Max Error Retry | Specify the maximum data loading retries when an error occurs during loading<br>data to or from the Azure folder. This parameter defaults to 3. A value of<br>-1 specifies the maximum possible retries. Only<br>-1 or positive integers are accepted.<br><br>This field is available when you select<br>Azure from the Storage dropdown list in<br>the Basic settings view. |
| Non-empty Storage Folder Action | Select any of the following options:<br><br><ul> <li> <span>Add New Files</span>: continues to process the Job even if                        the selected storage folder already contains files and adds new files to the                        folder.</li> <li> <span>Cancel Upload</span>: stops the operation when the storage                        folder used for loading data is not empty.</li> <li> <span>Replace Existing Files</span>: cleans the storage folder                        before adding new files.</li> </ul> |
| Chunk Size (bytes) | Specify the size for the files generated, which defaults to 52428800<br>bytes.<br><br>With this option specified, the incoming data may be stored in<br>multiple files. Since data is stored in files on a record base, the actual size<br>of each file generated can be larger or smaller than the specified value, but<br>no more than the size of the last record stored in the file.<br><br><br>Set this option<br>carefully as it can significantly affect the performance. See [File Sizing Best Practices and Limitations](https://docs.snowflake.net/manuals/user-guide/data-load-considerations-prepare.html#file-sizing-best-practices-and-limitations) for related<br>information. |
| Number of file requests threads | Specify the number of threads used for sending Put<br>requests in parallel when writing the data in the files. |
| tStatCatcher Statistics | Select this checkbox to gather the Job processing metadata at the Job level<br>as well as at each component level. |

## Global Variables

| Variables | Description |
| --- | --- |
| NB\_LINE | The number of rows processed. This is an After variable and<br>it returns an integer. |
| NB\_SUCCESS | The number of rows successfully processed. This is an After<br>variable and it returns an integer. |
| NB\_REJECT | The number of rows rejected. This is an After variable and<br>it returns an integer. |
| ERROR\_MESSAGE | The error message generated by the component when an error<br>occurs. This is an After variable and it returns a string. |

## Usage

| Usage guidance | Description |
| --- | --- |
| **Usage rule** | This component is an end component<br>of a data flow in your Job. It receives data from other components<br>through the Row &gt; Main link.<br><br>It can also send error messages to other components via a Row &gt;<br>Rejects link. The provided information about an error could<br>be:<br><br><ul> <li> <p>The name of the column in error.</p> </li> <li> <p>The number of the row in error.</p> </li> <li> <p>The category of the error, such as a parsing error or a conversion                              error.</p> </li> <li> <p>The character offset in the line in error.</p> </li> <li> <p>The related error message.</p> </li> <li> <p>The offset of the byte in error.</p> </li> <li> <p>The number of the line in error.</p> </li> <li> <p>SQLSTATE for the error.</p> </li> <li> <p>Snowflake error code.</p> </li> </ul> |

**Related concepts**

* [Processing Parquet data using Snowflake components](https://help.qlik.com/talend/en-US/components/8.0/snowflake/processing-parquet-data-using-snowflake-components "This scenario shows the way to load data from a Parquet file into a Snowflake table and to retrieve the data from the Snowflake table.")