tPostgresqlValidRows
Extracts DB rows that match a given data quality pattern.
The tPostgresqlValidRows checks
database rows against specific Data Quality patterns (regular expression).
tPostgresqlValidRows Standard properties
These properties are used to configure tPostgresqlValidRows running in the Standard Job framework.
The Standard
tPostgresqlValidRows component belongs to the Data Quality and the Databases families.
This component is available in the Palette of the Studio only if you have subscribed to one of the Talend Platform products.
Basic settings
|
Validation type |
Either Regex pattern
validation or DQ rule validation.
|
|
Regex pattern validation |
|
|
DQ rule validation |
|
|
Property type |
Either Built-in or Repository. |
|
|
Built-in: No property data stored |
|
|
Repository: Select the repository |
|
Use existing connection |
Select this check box and in the Component 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 across Job levels, see |
|
DB Version |
List of database versions. |
|
Host |
Database server IP address. |
|
Port |
Listening port number of DB server. |
|
Database |
Name of the database. |
|
Postgresql schema |
Name of the Postgresql schema. |
|
Username and |
DB user authentication data. To enter the password, click the […] button next to the |
|
Schema and Edit |
A schema is a row description, it defines the number of fields to Click Edit schema to make changes to the schema.
|
|
|
Built-in: You create and store |
|
|
Repository: You have already |
|
Table Name |
Enter the name of the table to be read. |
|
Where clause |
Enter a WHERE clause to define a row filter on the table. You can use the WHERE clause to filter the rows you want to |
Advanced settings
|
Use cursor |
Select this check box to specify the number of rows you want to |
|
Trim all the String/Char columns |
Select this check box to remove leading and trailing whitespace from all the String/Char columns. |
|
Trim column |
Remove leading and trailing whitespace from the defined This check box is not visible if Trim all |
|
tStatCatcher Statistics |
Select this check box to collect log data at the component |
Global Variables
|
Global Variables |
NB_LINE: the number of rows read by an input component or
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 can be used as a start or intermediary step. It |
|
Dynamic settings |
Click the [+] button to add a The Dynamic settings table is For examples on using dynamic parameters, see Scenario: Reading data from databases through context-based dynamic connections and Scenario: Reading data from different MySQL databases using dynamically loaded connection parameters. For more information on Dynamic |
Related scenarios
For a related scenario, see Scenario: Reading email addresses from a DB table and retrieving specific data.