Learning Pentaho Data Integration 8 CE - Third Edition
by Dan Keeley, Diethard Steiner, María Carina Roldán, Miguel Gaspar, Pablo Castagnaro, Paula Clemente, Paulo Alexandre de Oliveira Rodrigues Pires
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access