The three ELT Mysql components are closely related, in terms of their operating conditions. These components should be used to handle Mysql DB schemas to generate Insert statements, including clauses, which are to be executed in the DB output table defined.
Function |
tELTMysqlInput provides the table schema to be used for the SQL statement to execute. | |
Purpose |
tELTMysqlInput allows you to add as many Input tables as required for the most complicated Insert statement. |
Component family |
ELT/Map/Mysql |
|
Basic settings |
Schema and Edit Schema |
A schema is a row description, it defines the nature and number of fields to be processed. The schema is either built-in or remotely stored in the Repository. The Schema defined is then passed on to the ELT Mapper to be included to the Insert SQL statement. Click Edit schema to make changes to the schema. If the current schema is of the Repository type, three options are available:
Since version 5.6, both the Built-In mode and the Repository mode are available in any of the Talend solutions. |
|
|
Built-in: The schema is created and stored locally for this component only. Related topic: see Talend Studio User Guide. |
|
|
Repository: The schema already exists and is stored in the Repository, hence can be reused. Related topic: see Talend Studio User Guide. |
|
Default Table Name |
Enter the default table name, between double quotation marks. |
Advanced settings |
tStatCatcher Statistics |
Select this check box to collect log data at the component level. |
Global Variables |
ERROR_MESSAGE: the error message generated by the component when an error occurs. This is an After variable and it returns a string. This variable functions only if the Die on error check box is cleared, if the component has this check box. A Flow variable functions during the execution of a component while an After variable functions after the execution of the component. To fill up a field or expression with a variable, press Ctrl + Space to access the variable list and choose the variable to use from it. For further information about variables, see Talend Studio User Guide. | |
Usage |
tELTMysqlInput is to be used along with the tELTMysqlMap. Note that the Output link to be used with these components must correspond strictly to the syntax of the table name. NoteNote that the ELT components do not handle actual data flow but only schema information. |
For use cases in relation with tELTMysqlInput, see tELTMysqlMap scenarios: