tRedshiftRow
Acts on the actual DB structure or on the data (although without handling data),
depending on the nature of the query and the database.
The SQLBuilder tool helps you write easily your SQL statements.
tRedshiftRow is the specific
component for this database query. It executes the SQL query stated
onto the specified database. The row suffix means the component
implements a flow in the job design although it does not provide
output.
tRedshiftRow Standard properties
These properties are used to configure tRedshiftRow running in the Standard Job framework.
The Standard
tRedshiftRow component belongs to the Cloud and the Databases families.
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 |
 |
Repository: Select the repository |
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 |
Host |
Hostname or IP address of the database server. |
Port |
Listening port number of the database server. |
Database |
Name of the database. The bucket and the Redshift database to be used |
Schema |
Exact name of the schema. |
Username and Password |
Database user authentication data. To enter the password, click the […] button next to the |
Additional JDBC Parameters |
Specify additional JDBC properties for the connection you are creating. The |
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 |
 |
Click Edit
|
Table Name |
Name of the table from which the data will be read. |
Query type |
Either Built-in or Repository |
 |
Built-in: Fill in manually the query |
 |
Repository: Select the relevant query |
Guess Query |
Click the Guess Query button to |
Query |
Enter your database query paying particularly attention to properly Note: All statements in this field will be executed in a single transaction. To
have multiple statements executed in different transactions, put each of them in a separate tRedShiftRow component. |
Die on error |
This check box is selected by default. Clear the check box to skip the |
Advanced settings
Propagate QUERY’s recordset |
Select this check box to insert the result of the query into a COLUMN Note:
This option allows the component to have a different schema from |
Use PreparedStatement |
Select this check box if you want to query the database using a
Parameter Index: Enter the parameter
Parameter Type: Enter the parameter
Parameter Value: Enter the parameter Note:
This option is very useful if you need to execute the same query |
Commit every |
Number of rows to be completed before committing batches of rows |
JDBC url |
Select a way to access to an Amazon Redshift database from the
JDBC url drop-down list.
|
tStat |
Select this check box to collect log data at the component |
Global Variables
Global Variables |
QUERY: the query statement being processed. This is a Flow
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 database query |
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 similar scenarios, see: