Writing the output data into MySQL - 7.3

CombinedSQL

author
Talend Documentation Team
EnrichVersion
Cloud
7.3
EnrichProdName
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for Big Data
Talend Open Studio for Data Integration
Talend Open Studio for ESB
Talend Real-Time Big Data Platform
task
Data Governance > Third-party systems > ELT components > CombinedSQL components
Data Quality and Preparation > Third-party systems > ELT components > CombinedSQL components
Design and Development > Third-party systems > ELT components > CombinedSQL components
EnrichPlatform
Talend Studio

Procedure

  1. In the design workspace, select tCombinedSQLOutput and click the Component tab to access the configuration panel.
  2. On the Database type list, select the relevant database.
  3. On the Component list, select the relevant database connection component if more than one connection is used.
  4. In the Table field, enter the name of the target table which will store the results of the aggregation operations, empl_by_state in this case
    The tCombinedSQLOutput component requires that an output table already exists in the database to work. That is why the empl_by_state table was created earlier in the scenario.
    In this example, the Schema field doesn't need to be filled out as the database is not Oracle.
  5. Click the Sync columns button to retrieve the schema from the previous component.
    In this scenario, tCombinedSQLOutput instantiates seven columns coming from the previous component in the Job design (tCombinedSQLAggregate): state, empl_count, avg_salary, min_salary, max_salary, oldest_empl and youngest_empl.