tTeradataOutput
Executes the action defined on the table and/or on the data contained in the table,
based on the flow incoming from the preceding component in the job.
tTeradataOutput writes, updates, makes
changes or suppresses entries in a database.
Depending on the Talend
product you are using, this component can be used in one, some or all of the following
Job frameworks:
-
Standard: see tTeradataOutput Standard properties.
The component in this framework is available in all Talend
products. -
MapReduce: see tTeradataOutput MapReduce properties (deprecated).
The component in this framework is available in all subscription-based Talend products with Big Data
and Talend Data Fabric. -
Spark Batch: see tTeradataOutput properties for Apache Spark Batch.
The component in this framework is available in all subscription-based Talend products with Big Data
and Talend Data Fabric. -
Spark Streaming: see tTeradataOutput properties for Apache Spark Streaming.
This component is available in Talend Real Time Big Data Platform and Talend Data Fabric.
tTeradataOutput Standard properties
These properties are used to configure tTeradataOutput running in the Standard Job framework.
The Standard
tTeradataOutput 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 |
Either Built-In or Repository. |
 |
Built-In: No property data stored centrally. |
 |
Repository: Select the repository file where the |
Use an existing connection |
Select this check box and in the Component List click the relevant connection component to Note: 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 |
|
Click this icon to open a database connection wizard and store the For more information about setting up and storing database |
Host |
Database server IP address |
Database |
Name of the database |
Username and |
DB user authentication data. To enter the password, click the […] button next to the |
Table |
Name of the table to be written. Note that only one table can be |
Action on table |
Note:
The Action on table list will On the table defined, you can perform one of the following None: No operation is carried out.
Drop and create a table: The table
Create a table: The table does not
Create a table if not exists: The
Drop a table if exists and create:
Clear a table: The table content is |
Create |
This is not visible by default, until you choose to create a table – SET TABLE: tables which do not – MULTI SET TABLE: tables |
Action on data |
On the data of the table defined, you can perform: Insert: Add new entries to the table. If Update: Make changes to existing Insert or update: Insert a new record. If Update or insert: Update the record with the Delete: Remove entries corresponding to Warning:
It is necessary to specify at least one Note:
The dynamic schema feature can be used in the |
Schema and Edit |
A schema is a row description. It defines the number of fields This This |
 |
Built-In: You create and store the schema locally for this component |
 |
Repository: You have already created the schema and stored it in the When the schema to be reused has default values that are You can find more details about how to |
 |
Click Edit
|
Die on error |
This check box is selected by default. Clear the check box to skip |
Advanced settings
Additional JDBC parameters |
Specify additional connection properties for the DB connection you This is intended to allow specific character set support. E.G.: Note:
You can press Ctrl+Space to |
Commit every |
Enter the number of rows to be completed before committing batches This option is not available if you have selected the Use an existing connection check box in Note:
If you have selected Drop and create |
Additional Columns |
This option is not offered if you create (with or without drop) |
 |
Name: Type in the name of the |
 |
SQL expression: Type in the SQL |
 |
Position: Select Before, Replace or After |
 |
Reference column: Type in a |
Query band |
Select this check box to use the Teradata Query Banding feature to add metadata to the query Once selecting the check box, the Query Band parameters This check box actually generates the SET QUERY_BAND FOR SESSION statement with the key/value This check box is not available when you have selected the Using an |
Use field options |
Select this check box to customize a request, especially when |
Debug query mode |
Select this check box to display each step during processing entries |
tStatCatcher Statistics |
Select this check box to collect log data at the component |
Use Batch |
Select this check box to activate the batch mode for data processing. |
Batch Size |
Specify the number of records to be processed in each batch. This field appears only when the Use batch mode |
Enable parallel execution |
Select this check box to perform high-speed data processing, by treating
multiple data flows simultaneously. Note that this feature depends on the database or the application ability to handle multiple inserts in parallel as well as the number of CPU affected. In the Number of parallel executions field, either:
Note that when parallel execution is enabled, it is not possible to use global
|
Global Variables
Global Variables |
NB_LINE: the number of rows processed. This is an After
NB_LINE_UPDATED: the number of rows updated. This is an
NB_LINE_INSERTED: the number of rows inserted. This is an
NB_LINE_DELETED: the number of rows deleted. This is an
NB_LINE_REJECTED: the number of rows rejected. This is an
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 |
Usage
Usage rule |
This component offers the flexibility benefit of the DB query and This component must be used as an output component. It allows you to carry out actions |
Dynamic settings |
Click the [+] button to add a row in the table The Dynamic settings table is For examples on using dynamic parameters, see Reading data from databases through context-based dynamic connections and Reading data from different MySQL databases using dynamically loaded connection parameters. For more information on Dynamic |
Limitation |
Due to license incompatibility, one or more JARs required to use |
Related scenarios
For related topics, see:
tTeradataOutput MapReduce properties (deprecated)
These properties are used to configure tTeradataOutput running in the MapReduce Job framework.
The MapReduce
tTeradataOutput component belongs to the Databases family.
The component in this framework is available in all subscription-based Talend products with Big Data
and Talend Data Fabric.
The MapReduce framework is deprecated from Talend 7.3 onwards. Use Talend Jobs for Apache Spark to accomplish your integration tasks.
Basic settings
Property type |
Either Built-in or |
 |
Built-in: No property data stored |
 |
Repository: Select the repository |
|
Click this icon to open a database connection wizard and store the For more information about setting up and storing database |
Host |
Database server IP address |
Database |
Name of the database |
Username and |
DB user authentication data. To enter the password, click the […] button next to the |
Table |
Name of the table to be written. Note that only one table can be |
Schema and Edit |
A schema is a row description. It defines the number of fields |
 |
Built-In: You create and store the schema locally for this component |
 |
Repository: You have already created the schema and stored it in the When the schema to be reused has default values that are You can find more details about how to |
 |
Click Edit
|
Die on error |
Select the check box to stop the execution of the Job when an error Clear the check box to skip any rows on error and complete the process for |
Advanced settings
Additional JDBC parameters |
Specify additional connection properties for the DB connection you are creating. This is intended to allow specific character set support. E.G.: Note:
You can press Ctrl+Space to |
Use Batch |
Select this check box to activate the batch mode for data processing. |
Batch Size |
Specify the number of records to be processed in each batch. This field appears only when the Use batch mode |
Usage
Usage rule |
In a Note that in this documentation, unless otherwise |
Hadoop Connection |
You need to use the Hadoop Configuration tab in the This connection is effective on a per-Job basis. |
Limitation |
Due to license incompatibility, one or more JARs required to use |
Related scenarios
No scenario is available for the Map/Reduce version of this component yet.
tTeradataOutput properties for Apache Spark Batch
These properties are used to configure tTeradataOutput running in the Spark Batch Job framework.
The Spark Batch
tTeradataOutput component belongs to the Databases family.
The component in this framework is available in all subscription-based Talend products with Big Data
and Talend Data Fabric.
Basic settings
Property type |
Either Built-In or Repository. |
 |
Built-In: No property data stored centrally. |
 |
Repository: Select the repository file where the |
Use an existing configuration |
Select this check box and in the Component List click the relevant connection component to |
|
Click this icon to open a database connection wizard and store the For more information about setting up and storing database |
Host |
Database server IP address |
Database |
Name of the database |
Username and |
DB user authentication data. To enter the password, click the […] button next to the |
Table |
Name of the table to be written. Note that only one table can be |
Action on table |
On the table defined, you can perform one of the following None: No operation is carried out.
Drop and create a table: The table
Create a table: The table does not
Create a table if not exists: The
Drop a table if exists and create:
Clear a table: The table content is |
Action on data |
On the data of the table defined, you can perform: Insert: Add new entries to the table. If Update: Make changes to existing Insert or update: Insert a new record. If Update or insert: Update the record with the Delete: Remove entries corresponding to |
Schema and Edit |
A schema is a row description. It defines the number of fields |
 |
Built-In: You create and store the schema locally for this component |
 |
Repository: You have already created the schema and stored it in the When the schema to be reused has default values that are You can find more details about how to |
 |
Click Edit
|
Die on error |
This check box is selected by default. Clear the check box to skip |
Advanced settings
Additional JDBC parameters |
Specify additional connection properties for the DB connection you This is intended to allow specific character set support. E.G.: Note:
You can press Ctrl+Space to |
Use batch per partition |
Select this check box to activate the batch mode for data processing. |
Batch size |
Specify the number of records to be processed in each batch. This field appears only when the Use batch mode |
Connection pool |
In this area, you configure, for each Spark executor, the connection pool used to control
|
Evict connections |
Select this check box to define criteria to destroy connections in the connection pool. The
|
Usage
Usage rule |
This component is used as an end component and requires an input link. This component should use a tTeradataConfiguration This component, along with the Spark Batch component Palette it belongs to, Note that in this documentation, unless otherwise explicitly stated, a |
Spark Connection |
In the Spark
Configuration tab in the Run view, define the connection to a given Spark cluster for the whole Job. In addition, since the Job expects its dependent jar files for execution, you must specify the directory in the file system to which these jar files are transferred so that Spark can access these files:
This connection is effective on a per-Job basis. |
Related scenarios
For a scenario about how to use the same type of component in a Spark Batch Job, see Writing and reading data from MongoDB using a Spark Batch Job.
tTeradataOutput properties for Apache Spark Streaming
These properties are used to configure tTeradataOutput running in the Spark Streaming Job framework.
The Spark Streaming
tTeradataOutput component belongs to the Databases family.
This component is available in Talend Real Time Big Data Platform and Talend Data Fabric.
Basic settings
Property type |
Either Built-In or Repository. |
 |
Built-In: No property data stored centrally. |
 |
Repository: Select the repository file where the |
Use an existing configuration |
Select this check box and in the Component List click the relevant connection component to |
|
Click this icon to open a database connection wizard and store the For more information about setting up and storing database |
Host |
Database server IP address |
Database |
Name of the database |
Username and |
DB user authentication data. To enter the password, click the […] button next to the |
Table |
Name of the table to be written. Note that only one table can be |
Action on table |
On the table defined, you can perform one of the following None: No operation is carried out.
Drop and create a table: The table
Create a table: The table does not
Create a table if not exists: The
Drop a table if exists and create:
Clear a table: The table content is |
Action on data |
On the data of the table defined, you can perform: Insert: Add new entries to the table. If Update: Make changes to existing Insert or update: Insert a new record. If Update or insert: Update the record with the Delete: Remove entries corresponding to |
Schema and Edit |
A schema is a row description. It defines the number of fields |
 |
Built-In: You create and store the schema locally for this component |
 |
Repository: You have already created the schema and stored it in the When the schema to be reused has default values that are You can find more details about how to |
 |
Click Edit
|
Die on error |
This check box is selected by default. Clear the check box to skip |
Advanced settings
Additional JDBC parameters |
Specify additional connection properties for the DB connection you This is intended to allow specific character set support. E.G.: Note:
You can press Ctrl+Space to |
Use batch per partition |
Select this check box to activate the batch mode for data processing. |
Batch size |
Specify the number of records to be processed in each batch. This field appears only when the Use batch mode |
Connection pool |
In this area, you configure, for each Spark executor, the connection pool used to control
|
Evict connections |
Select this check box to define criteria to destroy connections in the connection pool. The
|
Usage
Usage rule |
This component is used as an end component and requires an input link. This component should use a tTeradataConfiguration This component, along with the Spark Batch component Palette it belongs to, Note that in this documentation, unless otherwise explicitly stated, a |
Spark Connection |
In the Spark
Configuration tab in the Run view, define the connection to a given Spark cluster for the whole Job. In addition, since the Job expects its dependent jar files for execution, you must specify the directory in the file system to which these jar files are transferred so that Spark can access these files:
This connection is effective on a per-Job basis. |
Related scenarios
For a scenario about how to use the same type of component in a Spark Streaming Job, see
Reading and writing data in MongoDB using a Spark Streaming Job.