Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Pentaho Data Integration Cookbook - Second Edition
  • Table Of Contents Toc
Pentaho Data Integration Cookbook - Second Edition

Pentaho Data Integration Cookbook - Second Edition - Second Edition

By : Alex Meadows, Adrian Sergio Pulvirenti, María Carina Roldán
3.8 (8)
close
close
Pentaho Data Integration Cookbook - Second Edition

Pentaho Data Integration Cookbook - Second Edition

3.8 (8)
By: Alex Meadows, Adrian Sergio Pulvirenti, María Carina Roldán

Overview of this book

Pentaho Data Integration is the premier open source ETL tool, providing easy, fast, and effective ways to move and transform data. While PDI is relatively easy to pick up, it can take time to learn the best practices so you can design your transformations to process data faster and more efficiently. If you are looking for clear and practical recipes that will advance your skills in Kettle, then this is the book for you. Pentaho Data Integration Cookbook Second Edition guides you through the features of explains the Kettle features in detail and provides easy to follow recipes on file management and databases that can throw a curve ball to even the most experienced developers. Pentaho Data Integration Cookbook Second Edition provides updates to the material covered in the first edition as well as new recipes that show you how to use some of the key features of PDI that have been released since the publication of the first edition. You will learn how to work with various data sources – from relational and NoSQL databases, flat files, XML files, and more. The book will also cover best practices that you can take advantage of immediately within your own solutions, like building reusable code, data quality, and plugins that can add even more functionality. Pentaho Data Integration Cookbook Second Edition will provide you with the recipes that cover the common pitfalls that even seasoned developers can find themselves facing. You will also learn how to use various data sources in Kettle as well as advanced features.
Table of Contents (16 chapters)
close
close
14
B. References
15
Index

Altering a data stream with Select values


While processing data there will come a need to alter field names, their data types or formats, and even removing fields altogether. The Select values step allows for all three functions and this recipe will show how to use it. The code for this recipe is available from the book's website.

How to do it...

  1. Create a new transformation. Add a Generate Rows step and a Generate random value step to the canvas.

  2. Create a hop between the two steps.

  3. Open the Generate Rows step. Create a field named row_test of type String and with a default value of test. Click on OK to close the step.

  4. Open the Generate random value step. Create two fields, one a random string (named random_num) and the other a random string (named random_string). Click on OK to close the step.

  5. Bring over three Select values steps onto the canvas. Create hops from the Generate random value step to each of the Select values steps. When prompted to specify how to handle the stream of data, select...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Pentaho Data Integration Cookbook - Second Edition
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon