Summary

In this chapter, you learned how to insert code into your PDI transformations.

In the first place, you learned how to insert Javascript code. You used this option both to modify and to add new fields to your dataset. You also used Javascript code for filtering data, and for dealing with unstructured input data.

After that, you learned to use the UDJC step for inserting Java code. You used this option to insert and modify fields, and also to control the flow of data.

Besides, you received tips and directions to parse XML and JSON structures by coding. You also saw a list of the pros and cons of coding inside your Transformations, as well as alternative ways to do things, such as avoiding writing code when possible.

If you feel confident ...

Get Learning Pentaho Data Integration 8 CE - Third Edition 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.