The tGreenplumOutputBulk and tGreenplumBulkExec components are used together in a two step process.
In the first step, an output file is generated. In the second step, this file is used in
the INSERT operation used to feed a database. These two steps are fused together in the
tGreenplumOutputBulkExec component, detailed in a
separate section. The advantage of using a two step process is that it makes it possible
to transform data before it is loaded in the database.
Component family |
Databases/Greenplum |
|
Function |
Writes a file with columns based on the defined delimiter and the |
|
Purpose |
Prepares the file to be used as parameter in the INSERT query to |
|
Basic settings |
Property type |
Either Built-in or Repository. Since version 5.6, both the Built-In mode and the Repository mode are |
|
|
Built-in: No property data stored |
|
|
Repository: Select the repository |
|
File Name |
Name of the file to be generated. WarningThis file is generated on the local machine or a shared folder |
|
Append |
Select this check box to add the new rows at the end of the |
|
Schema and Edit |
A schema is a row description. It defines the number of fields to be processed and passed on Since version 5.6, both the Built-In mode and the Repository mode are |
|
|
Built-In: You create and store the schema locally for this |
|
|
Repository: You have already created the schema and When the schema to be reused has default values that are integers or functions, ensure that For more details, see https://help.talend.com/display/KB/Verifying+default+values+in+a+retrieved+schema. |
Click Edit schema to make changes to the schema. If the
|
||
Advanced settings |
Row separator |
String (ex: ” |
|
Field separator |
Character, string or regular expression to separate fields. |
|
Include header |
Select this check to include the column header. |
|
Encoding |
Select the encoding from the list or select Custom and define it manually. This field is |
|
tStatCatcher statistics |
Select this check box to collect log data at the component |
Global Variables |
NB_LINE: the number of rows processed. This is an After ERROR_MESSAGE: the error message generated by the A Flow variable functions during the execution of a component while an After variable To fill up a field or expression with a variable, press Ctrl + For further information about variables, see Talend Studio |
|
Usage |
This component is to be used along with tGreenplumBulkExec component. Used together they |
|
Log4j |
The activity of this component can be logged using the log4j feature. For more information on this feature, see Talend Studio User For more information on the log4j logging levels, see the Apache documentation at http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/Level.html. |
For use cases in relation with tGreenplumOutputBulk,
see the following scenarios: