O'Reilly logo

Talend Open Studio Cookbook by Rick Barton

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Rejecting rows using tMap

This recipe shows how tMap can be used to ensure that unwanted rows are not propagated downstream. This may be as a result of the filter criteria or a validation rule.

Getting ready

Open the job jo_cook_ch03_0030_tMapRejects.

How to do it…

  1. Open the tMap and click the Activate/unactivate expression filter button for the validRows output.
  2. In the Expression box add the code customer.age >= 18.
    How to do it…
  3. Click on the tMapRejects output and then on the tMapSettings button.
  4. Click on Catch output reject value column to set it to true.
    How to do it…
  5. Run the job. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required