Retrieving the data updates from the SCD dimension table - 6.5

SCDELT

author
Talend Documentation Team
EnrichVersion
6.5
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 Open Studio for MDM
Talend Real-Time Big Data Platform
task
Data Governance > Third-party systems > Business Intelligence components > SCDELT components
Data Quality and Preparation > Third-party systems > Business Intelligence components > SCDELT components
Design and Development > Third-party systems > Business Intelligence components > SCDELT components
EnrichPlatform
Talend Studio

Procedure

  1. Double-click the first tPostgreSQLInput component to open its Basic settings view.
  2. Select the Use an existing connection check box and from the Component List drop-down list displayed, select the connection component to reuse the connection created by it, tPostgreSQLConnection_1 in this example.
  3. Click the [...] button next to Edit schema and in the pop-up dialog box, define the schema by adding nine columns: sk and id of Integer type as the primary key, name and role of String type, salary of Double type, start_date and end_date of Date type with the Date Pattern yyyy-MM-dd, and active_status and version of Integer type. When done, click OK to save the changes and close the dialog box.

    The schema of the first tPostgreSQLInput component is the same as the schema of the tPostgreSQLSCDELT1 component, you can just copy and paste it.

  4. In the Query field, enter the SQL command used to retrieve data from the SCD dimension table, select * from employee_scd in this example.
  5. In the Table Name field, enter the name of the SCD dimension table where you will retrieve the data updates, employee_scd in this example.
  6. Double-click the first tLogRow component and in the Mode area on its Basic settings view, select Table to display the retrieved data in a table.