Jump to content
We've recently updated our Privacy Statement, available here ×
  • ETL: filtering with tMap (expression filter)


    dnaboka
    • Product: Jaspersoft® ETL

    Issue Description

    We have a requirement to separate records with odd IDs (1, 3, 5 ..) from even IDs (2, 4, 6 ..) and store them in 2 separate Excel files.


    Resolution

    You could utilize tMap filter expression using "row1.id % 2 == 0" for even IDs and "row1.id % 2 != 0" for odd IDs respectively.

    Attached ETL job demonstrates a simple use-case using random text generator and 2 resulting Excel files.



    User Feedback

    Recommended Comments

    There are no comments to display.



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...