tVerticaOutputBulkExec Standard properties
These properties are used to configure tVerticaOutputBulkExec running in the Standard Job framework.
The Standard tVerticaOutputBulkExec component belongs to the Databases 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.
|
DB Version |
Select the version of the database. |
Use an existing connection |
Select this check box and in the Component List drop-down list, select the desired connection component to reuse the connection details you already defined. When a Job contains the parent Job and the child Job, if you need to share an existing connection between the two levels, for example, to share the connection created by the parent Job with the child Job, you have to:
For an example about how to share a database connection across Job levels, see Talend Studio User Guide. |
Host |
The IP address or hostname of the database. |
Port |
The listening port number of the database. |
DB Name |
The name of the database. |
Schema |
The schema of the database. |
Username and Password |
The database user authentication data. To enter the password, click the [...] button next to the password field, and then in the pop-up dialog box enter the password between double quotes and click OK to save the settings. |
Action on data |
Select an action that will be performed on the data of the table defined.
|
Table |
The name of the table into which data will be written. |
Action on table |
Select an operation to be performed on the table defined.
|
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.
When the schema to be reused has default values that are integers or functions, ensure that these default values are not enclosed within quotation marks. If they are, you must remove the quotation marks manually. For more information, see the related description of retrieving table schemas in Talend Studio User Guide. Click Edit
schema to make changes to the schema.
Information noteNote: If you
make changes, the schema automatically becomes built-in.
|
File Name |
The path to the file to be generated. This file is generated on the same machine where your Studio is installed or where your Job using this component is deployed. |
Append |
Select this check box to add new rows at the end of the file. |
Use schema columns for Copy |
Select this check box to use the column option in the COPY statement so that you can restrict the load to one or more specified columns in the table. For more information, see the Vertica COPY SQL Statement. |
Advanced settings
Additional JDBC Parameters |
Specify additional JDBC parameters for the database connection created. This property is not available when the Use an existing connection check box in the Basic settings view is selected. |
Stream name |
The stream name of a load, which helps identify a particular load. This property is available only when you are using Vertica 6.0 and later. |
Write to ROS (Read Optimized Store) |
Select this check box to store data in a physical storage area, in order to optimize the reading, as the data is compressed and pre-sorted. |
Exit Job if no row was loaded |
The Job automatically stops if no row has been loaded. |
Missing columns as null |
Select this check box to insert NULL values for the missing columns when there is insufficient data to match the columns specified in the schema. This property is available only when you are using Vertica 6.0 and later. |
Skip Header |
Select this check box and in the field displayed next to it, specify the number of records to skip in the file. This property is available only when you are using Vertica 6.0 and later. |
Record terminator |
Select this check box and in the field displayed next to it, specify the literal character string used to indicate the end of each record in the file. This property is available only when you are using Vertica 6.0 and later. |
Enclosed by character |
Select this check box to set the character within which data is enclosed. This property is available only when you are using Vertica 6.0 and later. |
Field Separator |
The character, string or regular expression to separate fields. |
Null String |
The string displayed to indicate that the value is null. |
Include Header |
Select the check box to include the column header to the file. |
Encoding |
Select an encoding method from the list, or select CUSTOM and define it manually. This field is compulsory for database data handling. |
Reject not fitted values |
Select this check box to reject data rows of type char, varchar, binary, and varbinary if they do not fit the target table. This property is available only when you are using Vertica 6.0 and later. |
Maximum number of rejected records |
Select this check box and in the field displayed next to it, specify the maximum number of records that can be rejected before a load fails. This property is available only when you are using Vertica 6.0 and later. |
Stop and rollback if any row is rejected |
Select this check box to stop and roll back a load without loading any data if any row is rejected. This property is available only when you are using Vertica 6.0 and later. |
Don't commit |
Select this check box to perform a bulk load transaction without committing the results automatically. This is useful if you want to execute multiple bulk loads in a single transaction. This property is available only when you are using Vertica 6.0 and later. |
Rejected data file |
Specify the file into which rejected rows will be written. This property is available only when Bulk insert is selected from the Action on data drop-down list. |
Exception log file |
Specify the file into which the exception log will be written. This log explains why each rejected row was rejected. This property is available only when Bulk insert is selected from the Action on data drop-down list. |
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
ACCEPTED_ROW_NUMBER |
The number of rows loaded into the database. This is an After variable and it returns an integer. |
REJECTED_ROW_NUMBER |
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 mainly used when no particular transformation is required on the data to be loaded into the database. Talend Studio and the Vertica database create very fast and affordable data warehouse and data mart applications. For more information about how to configure Talend Studio to connect to Vertica, see Talend and HP Vertica Tips and Techniques. |