tVerticaOutputBulkExec
loads data into a Vertica database from the file using the Vertica COPY SQL
statement.
For more information about the Vertica COPY SQL
statement, see COPY.
The tVerticaOutputBulk
component and the tVerticaBulkExec component are generally used together as
parts of a two step process. In the first step, an output file is generated. In the second
step, the file is used in a bulk load operation to feed a database. These two steps are fused
together in the tVerticaOutputBulkExec component. The advantage of using
two separate components is that the data can be transformed before it is loaded into the
database.
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.
connector. The properties related to database settings vary depending on your database
type selection. For more information about dynamic database connectors, see Dynamic database components.
Basic settings
Database |
Select a type of database from the list and click |
Property Type |
Select the way the connection details
|
DB Version |
Select the version of the database. |
Use an existing connection |
Select this check box and in the Component List click the relevant connection component to When a Job contains the parent Job and the child Job, if you need to
For an example about how to share a database connection across Job |
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 |
Action on data |
Select an action that will be performed on the data of the table defined.
|
Table |
The name of the table into |
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
When the schema to be reused has default values that are You can find more details about how to Click Edit
schema to make changes to the schema. Note: 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 |
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 |
Advanced settings
Additional JDBC Parameters |
Specify additional JDBC parameters for the This property is not available when the Use an existing connection |
Stream name |
The stream name of a load, which helps identify a particular load. This property is available only when |
Write to ROS (Read Optimized Store) |
Select this check box to store data in a physical storage area, in order to optimize |
Exit Job if no row was loaded |
The Job automatically stops if no row has |
Missing columns as null |
Select this check box to insert NULL values for the missing columns when there is This property is available only when |
Skip Header |
Select this check box and in the field displayed next to it, specify the number of This property is available only when |
Record terminator |
Select this check box and in the field displayed next to it, specify the literal This property is available only when |
Enclosed by character |
Select this check box to set the character within which data is enclosed. This property is available only when |
Field Separator |
The character, string or regular expression to |
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 |
Reject not fitted values |
Select this check box to reject data rows of type char, varchar, binary, and varbinary This property is available only when |
Maximum number of rejected records |
Select this check box and in the field displayed next to it, specify the maximum number This property is available only when |
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 This property is available only when |
Don’t commit |
Select this check box to perform a bulk load transaction without committing the results This property is available only when |
Rejected data file |
Specify the file into which rejected rows will be written. This property is available only when |
Exception log file |
Specify the file into which the exception log will be written. This log explains why This property is available only when |
tStatCatcher Statistics |
Select this check box to gather the Job processing metadata at the Job level |
Global Variables
ACCEPTED_ROW_NUMBER |
The number of rows loaded into the database. This is an After variable and it returns |
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 |
Usage
Usage rule |
This component is mainly used when no particular transformation Talend Studio and the |
Related scenarios
For use cases in relation with tVerticaOutputBulkExec, see the following scenarios: