Writing a file to MySQL if the number of its records matches a reference value
In this scenario, tFileRowCount counts the number of records in a .txt file, which is compared against a reference value through tJava. Once the two values match, the .txt file will be written to a MySQL table.
For more technologies supported by Talend, see Talend components.
The .txt file has two records:
1;andy
2;mike