I'm facing issue in if else condition.
My condition is if the value from row1.column1="STUD" load "STUD" else all values should be NA.
My input is column is string and output column is string which is in HIVE.
Relational.ISNULL(row1.column1)== true ? "NA": row1.column1
This abovecondition is applied as a variable, and in the target column in where the output needs to be populated
The above condition need to satisfy for different conditions like"MASTER", "JUNIOR". etc..All these conditions needs to be satisfied in a single output column. So in my output the distinct records will be "STUD","MASTER", "JUNIOR","NA".
I'm facing comparable error.
You need to think about how you are comparing your values. Looking at your code (which should be erroring by the way because of the "=" operator) you are trying to compare memory rather than values. Take a look at this web page which will explain it thoroughly...
Talend named a Leader.
Kickstart your first data integration and ETL projects.
Watch the recorded webinar!
Learn how to do cool things with Context Variables
Find out how to migrate from one database to another using the Dynamic schema
Learn how to make your data more available, reduce costs and cut your build time