Filter row not equals to ""

Highlighted
Seven Stars

Filter row not equals to ""

Hi,

 

I had this issue. I want to filter all the rows where a specific column (last_appl_cryptogram) is "" or null. I am trying to using tFilter row with the following condition: 

 

 

out_microchip.last_appl_cryptogram != null || ! (out_microchip.last_appl_cryptogram.equals(""))

 

Am I missing something? Maybe I am not using tFilterRow in a proper way.

JOB1.pngtMap1.pngtFilterRow1.png


Accepted Solutions
Highlighted
Seven Stars

Re: Filter row not equals to ""

No I can't. Anyway, I solved now: it was because of the trim condition.


@akumar2301 wrote:
why donot you use tmap expression filter instead of tfilterrow?

you could add your condition there.

let me know if that works

 

View solution in original post


All Replies
Highlighted
Eleven Stars

Re: Filter row not equals to ""

why donot you use tmap expression filter instead of tfilterrow?

you could add your condition there.

let me know if that works
Regards
Abhishek KUMAR
Highlighted
Seven Stars

Re: Filter row not equals to ""

No I can't. Anyway, I solved now: it was because of the trim condition.


@akumar2301 wrote:
why donot you use tmap expression filter instead of tfilterrow?

you could add your condition there.

let me know if that works

 

View solution in original post

2019 GARTNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog