These properties are used to configure tBigQueryBulkExec running in the Standard Job framework.
The Standard tBigQueryBulkExec component belongs to the Big Data family.
The component in this framework is available in all Talend products.
Basic settings
Schema and Edit Schema |
A schema is a row description. It defines the number of fields (columns) to Repository. When you create a Spark Job, avoid the reserved word line when naming the fields. Click Edit schema to make changes to the schema. If the current schema is of the Repository type, three options are available:
|
|
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. |
Client ID and Client secret |
Paste the client ID and the client secret, both created and viewable on the API Access tab view of the project hosting the BigQuery service and the Cloud Storage service you need to use. To enter the client secret, click the [...] button next to the client secret field, and then in the pop-up dialog box enter the client secret between double quotes and click OK to save the settings. |
Project ID |
Paste the ID of the project hosting the BigQuery service you need to use. The ID of your project can be found in the URL of the Google API Console, or by hovering your mouse pointer over the name of the project in the BigQuery Browser Tool. |
Authorization code |
Paste the authorization code provided by Google for the access you are building. To obtain the authorization code, you need to execute the Job using this component and when this Job pauses execution to print out an URL address, you navigate to this address to copy the authorization code displayed. |
Dataset |
Enter the name of the dataset you need to transfer data to. |
Table |
Enter the name of the table you need to transfer data to. If this table does not exist, select the Create the table if it doesn't exist check box. |
Action on data |
Select the action to be performed from the drop-down list when transferring data to the target table. The action may be:
|
Bulk file already exists in Google storage |
Select this check box to reuse the authentication information for Google Cloud Storage connection, then, complete the File and the Header fields. |
Access key and Secret key |
Paste the authentication information obtained from Google for making requests to Google Cloud Storage. To enter the secret key, click the [...] button next to the secret key field, and then in the pop-up dialog box enter the password between double quotes and click OK to save the settings. These keys can be consulted on the Interoperable Access tab view under the Google Cloud Storage tab of the project. |
File to upload |
When the data to be transferred to BigQuery is not stored on Google Cloud Storage, browse to, or enter the path to it. |
Bucket |
Enter the name of the bucket, the Google Cloud Storage container, which holds the data to be transferred to Google BigQuery. |
File |
Enter the directory of the data stored on Google Cloud Storage and to be transferred to BigQuery. If the data is not on Google Cloud Storage, this directory is used as the intermediate destination before the data is transferred to BigQuery. |
Header |
Set values to ignore the header of the transferred data. For example, enter 0 to ignore no rows for the data without header. |
Die on error |
This check box is cleared by default, meaning to skip the row on error and to complete the process for error-free rows. |
Advanced settings
token properties File Name |
Enter the path to, or browse to the refresh token file you need to use. At the first Job execution using the Authorization code you have obtained from Google BigQuery, the value in this field is the directory and the name of that refresh token file to be created and used; if that token file has been created and you need to reuse it, you have to specify its directory and file name in this field. With only the token file name entered, Talend Studio considers the directory of that token file to be the root of the Studio folder. For further information about the refresh token, see the manual of Google BigQuery. |
Set the field delimiter |
Enter character, string or regular expression to separate fields for the transferred data. |
Encoding |
Select the encoding from the list or select Custom and define it manually. This field is compulsory for database data handling. The supported encodings depend on the JVM that you are using. For more information, see https://docs.oracle.com. |
tStatCatcher Statistics |
Select this check box to collect the log data at the component level. |
Global Variables
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. This variable functions only if the Die on error check box is cleared, if the component has this check box. A Flow variable functions during the execution of a component while an After variable functions after the execution of the component. To fill up a field or expression with a variable, press Ctrl + Space to access the variable list and choose the variable to use from it. For further information about variables, see Talend Studio User Guide. |
Usage
Usage rule |
This is a standalone component. |