Creating a PostgreSQL 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 tCreateTable component to open its Basic settings view.
  2. In the Basic settings view, and from the Database Type list, select Postgresql for this scenario.
  3. 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.
  4. In the Table Name field, fill in a name for the table to be created, employee in this example.
  5. From the Table Action list, select Create table if not exist.
  6. Click the [...] button next to Edit schema and in the pop-up dialog box, define the schema by adding four columns: id of Integer type as the primary key, name and role of String type, and salary of Double type.
    In the end, a new table employee is created to store the employee data.