Selecting the Silver-level customer data - 7.0

Processing (Integration)

EnrichVersion
7.0
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
EnrichPlatform
Talend Studio
task
Data Governance > Third-party systems > Processing components (Integration)
Data Quality and Preparation > Third-party systems > Processing components (Integration)
Design and Development > Third-party systems > Processing components (Integration)

Procedure

  1. Double-click tSqlRow to open its Component view.
  2. Click the [...] button next to Edit schema to open the schema editor.
  3. In the schema on the output side (the right side), change the column name Support to Silver_Support.
  4. From the SQL context drop-down list, select SQL Spark Context.
  5. In the SQL Query field, enter the query statement to be used to select the records about the Silver-level customers.
    select User_id, FirstName, LastName, Country, Support as Silver_Support, SubscriptionDate, email, telephone from row1 where Support = 'SILVER'
    You can read that the input link row1 is actually taken as the table in which this query is performed.