Book Image

Learning Pentaho Data Integration 8 CE - Third Edition

By : Carina Roldán
Book Image

Learning Pentaho Data Integration 8 CE - Third Edition

By: Carina Roldán

Overview of this book

Pentaho Data Integration(PDI) is an intuitive and graphical environment packed with drag-and-drop design and powerful Extract-Tranform-Load (ETL) capabilities. This book shows and explains the new interactive features of Spoon, the revamped look and feel, and the newest features of the tool including transformations and jobs Executors and the invaluable Metadata Injection capability. We begin with the installation of PDI software and then move on to cover all the key PDI concepts. Each of the chapter introduces new features, enabling you to gradually get practicing with the tool. First, you will learn to do all kind of data manipulation and work with simple plain files. Then, the book teaches you how you can work with relational databases inside PDI. Moreover, you will be given a primer on data warehouse concepts and you will learn how to load data in a data warehouse. During the course of this book, you will be familiarized with its intuitive, graphical and drag-and-drop design environment. By the end of this book, you will learn everything you need to know in order to meet your data manipulation requirements. Besides, your will be given best practices and advises for designing and deploying your projects.
Table of Contents (17 chapters)

Splitting the stream based on conditions


In the previous section, you learned to split the main stream of data into two or more streams. Now you will learn how to put conditions, so the rows take one way or another depending on the results of evaluating those conditions.

Splitting a stream based on a simple condition

For this subsection, we will work one more time with the Excel file exported from JIRA, containing all the new features proposed for next releases of PDI. This time, suppose that you want to implement different treatments to the data, depending on the Severity of the issues. For example:

  • With the issues that have severity Urgent or High, you want to create a list and send it by email
  • With the rest of the issues, you want to create an Excel file order by status and severity, and copy this output to a shared folder to be revised

The source of both outputs is the same, but depending on the characteristics of the issues, the rows have to take one way or the other.

Following is how you...