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.
- From the Packt website, download the
- Create a new transformation.
- With a Text file input step, read the file.
- Preview the file. You will see the following:
- After the Text file input step, add an Add constants step to add a
String constant named
man_code with value
- Expand the Output category of steps and drag a Delete step to the canvas.
- Create a hop from ...