August 15, 2023

Counting the occurrences of each hashtag – Docs for ESB 6.x

Counting the occurrences of each hashtag

  1. Double-click tAggregateRow to open its
    Component view.

    use_case-tkafkainput_twitter7.png

  2. Click the […] button next to Edit
    schema
    to open the schema editor.

    use_case-tkafkainput_twitter8.png

  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.

Document get from Talend https://help.talend.com
Thank you for watching.
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x