I have this expression which i have compiled and tested and the results is correct after testing. But when i see the output excel file, the column is empty. Any idea why?
Trade_Events.Transaction_Type_Code == "BUY"? "1":
Trade_Events.Transaction_Type_Code == "SEL"? "2":
Trade_Events.Transaction_Type_Code == "SELL_CI" ?"17":null
Solved! Go to Solution.
Are you able to use tLogRow component instead of tfileoutputexcel component to print your result on console at the first step to see if this expression in tMap works well?
Talend named a Leader.
Kickstart your first data integration and ETL projects.
Watch the recorded webinar!
Part 2 of a series on Context Variables
Learn how to do cool things with Context Variables
Find out how to migrate from one database to another using the Dynamic schema