Injecting metadata

Now that we have the template, we are ready to create a Transformation that injects the missing data. In our example, the missing data is the content of the Sheetname tab of the Excel configuration window. In this Transformation, we will complete this gap. We will do it with an ETL Metadata Injection step. The configuration of the step may seem complicated at first, but the idea is simple. In the configuration window of this step, we just tell which data has to be injected in which part of the template Transformation. This is how we do it:

  1. Create a Transformation.
  2. With a Get Variables step, read the ${SHEETNAME} variable.
  3. After that step, add an ETL Metadata Injection step. You will find it under the Flow category of steps. ...

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.