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 with all you have learned until now, you are certainly ready to move on to the next chapter. There, you will learn how to solve more advanced problems such as aggregating data or normalizing data from pivoted tables in a simple fashion.
Â
Â
Â
Â