Time for action – deleting data about discontinued items

Suppose a manufacturer informs you about the categories of products that will no longer be available. You don't want to have in your database products something that you will not sell. Then you use PDI to delete them.

  1. From the Packt website, download the LUX_discontinued.txt file.
  2. Create a new transformation.
  3. With a Text file input step, read the file.
  4. Preview the file. You will see the following:
    Time for action – deleting data about discontinued items
  5. After the Text file input step, add an Add constants step to add a String constant named man_code with value LUX.
  6. Expand the Output category of steps and drag a Delete step to the canvas.
  7. Create a hop from ...

Get Pentaho 3.2 Data Integration Beginner's Guide 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.