Chapter 5

finding the seven errors

1

1. The type of log a doesn't exist. Look at the sample provided for the function to see the valid options.

2. The variable uSkill is not defined. Its definition is required if you want to add it to the list of new fields.

3. setValue() cause an error without compatibility mode. To change the value of the Country field, a new variable should be used instead.

4. A variable named average is calculated but wAverage is used as the new field.

5. It is not trans_status; it is trans_Status.

6. No data type was specified for the totalScore field.

7. The sentence writeToLog(‘Ready to calculate averages...') will be written for every row. To write it at the beginning, you have to put it in a Start script, not in the ...

Get Pentaho 3.2 Data Integration Beginner's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.