tMySQLValidRows
Checks MySQL database rows against Data Quality patterns (regular
expression).
tMySQLValidRows allows you to extract DB rows that match
a given Data Quality pattern.
tMySQLValidRows Standard properties
These properties are used to configure tMySQLValidRows running in the Standard Job framework.
The Standard
tMySQLValidRows 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 |
|
DB Version |
Select the MySQL version you are using. |
|
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 |
|
Host |
Database server IP address. |
|
Port |
Listening port number of DB server. |
|
Database |
Name of the database. |
|
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 |
|
|
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
|
Additional JDBC Parameters |
Specify additional connection properties for the DB connection you Note:
You can press Ctrl+Space to |
|
Enable stream |
Select this check box to enables streaming over buffering. This allows reading from large tables without consuming large amount of memory in order to optimize the performance. |
|
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 defined Note:
Clear the Trim all the String/Char |
|
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.