You are not logged in.
Announcement
Unanswered posts
|
Pages: 1
Hi all,
I need to have a logical expression (to use in tMap for transform data) just like the IF in excel or CASE WHEN in Oracle.
Do someone know how to do or, better, do someone has an expression already done?
Thanks in advance
Steven
PS I'm using TOS 4.1.2
Offline
Hi
We use the if ...else ... logical expression in tMap like this:
row1.name.equals("Shong")?"the value if it is true":"the value if it is false"
Best regards
Shong
Offline
Pages: 1