Counting the occurrences of each hashtag - 7.1

Kafka

author
Talend Documentation Team
EnrichVersion
7.1
EnrichProdName
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Open Studio for Big Data
Talend Real-Time Big Data Platform
task
Data Governance > Third-party systems > Messaging components (Integration) > Kafka components
Data Quality and Preparation > Third-party systems > Messaging components (Integration) > Kafka components
Design and Development > Third-party systems > Messaging components (Integration) > Kafka components
EnrichPlatform
Talend Studio

Procedure

  1. Double-click tAggregateRow to open its Component view.
  2. Click the [...] button next to Edit schema to open the schema editor.
  3. On the output side, click the [+] button two times to add two rows to the output schema table and rename these new schema columns to hashtag and count, respectively.
  4. Click OK to validate these changes and accept the propagation prompted by the pop-up dialog box.
  5. In the Group by table, add one row by clicking the [+] button and select hashtag for both the Output column column and the Input column position column. This passes data from the hashtag column of the input schema to the hashtag column of the output schema.
  6. In the Operations table, add one row by clicking the [+] button.
  7. In the Output column column, select count, in the Function column, select count and in the Input column position column, select hashtag.