Retrieving data from the table on Redshift - 7.3

Amazon Redshift

Version
7.3
Language
English
Product
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 Real-Time Big Data Platform
Module
Talend Studio
Content
Data Governance > Third-party systems > Amazon services (Integration) > Amazon Redshift components
Data Quality and Preparation > Third-party systems > Amazon services (Integration) > Amazon Redshift components
Design and Development > Third-party systems > Amazon services (Integration) > Amazon Redshift components
Last publication date
2024-02-21

Procedure

  1. Double-click tRedshiftInput to open its Basic settings view on the Component tab.
  2. Fill the Host, Port, Database, Schema, Username, and Password fields with their corresponding context variables.
  3. In the Table Name field, enter the name of the table to be read. In this example, it is person.
  4. Click the [...] button next to Edit schema and in the pop-up window define the schema by adding two columns: ID of Integer type and Name of String type.
  5. In the Query field, enter the following SQL statement based on which the data are retrieved.
    "SELECT * FROM" + context.redshift_schema + "person ORDER BY \"ID\""
  6. Double-click tLogRow to open its Basic settings view on the Component tab.
  7. In the Mode area, select Table (print values in cells of a table) for a better display of the result.