expression filter in tMap DOES NOT WORK ERROR !!!

Highlighted
Five Stars

expression filter in tMap DOES NOT WORK ERROR !!!

Hi community,

I am using tMap to filter data. I tried several times obtaining the same error message Smiley Sad

How can I solve this problem?

Expression: releaseYear>=1990

 

pic1.png

Highlighted
Moderator

Re: expression filter in tMap DOES NOT WORK ERROR !!!

@Gaviota,try the below way expresion.

 

(row1.releaseYear!= null || row1.releaseYear.equals("")? " ":row1.releaseYear)>=1990

Manohar B
Don't forget to give kudos/accept the solution when a replay is helpful.
Highlighted
Moderator

Re: expression filter in tMap DOES NOT WORK ERROR !!!

@Gaviota,try the below way expression.

 

(row1.releaseYear!= null || row1.releaseYear.equals("")? " ":row1.releaseYear)>=1990

Manohar B
Don't forget to give kudos/accept the solution when a replay is helpful.
Highlighted
Moderator

Re: expression filter in tMap DOES NOT WORK ERROR !!!

@Gaviota,still do you have issue?

Manohar B
Don't forget to give kudos/accept the solution when a replay is helpful.

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