O'Reilly logo

Pentaho Data Integration Beginner's Guide by María Carina Roldán

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action – counting frequent words by coding in JavaScript

In Chapter 4, Filtering, Searching, and Performing Other Useful Operations with Data, you created a transformation that read a file and counted frequent words. In this section, you will create a variant of that transformation by replacing some of the steps with a piece of JavaScript code.

  1. Open the transformation from the section named Counting frequent words by filtering from Chapter 4, Filtering, Searching, and Performing Other Useful Operations with Data. Select the first two steps—the Text file input and the Split field to rows steps—and copy them to a new transformation.
  2. From the Scripting category of steps, select and drag a Modified Java Script Value step to the work area. Create ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required