I have one source table as :
S1 S2 S3 S4
Hi There SSN1 SSN2
where S1, S2, S3 and S4 are column names.
There is a target table likewise which has three fields:
T1 T2 T3
I have another table which is as follows:
Function Target_Column
concat(S1,S2) T1
substr(S3,1,3) T2
substr(S3,3,1) T3
I want to have such a mapping in which it can fetch the function name and map according to the function present in the table to the target column specified. My target table now after running the mapping will be:
T1 T2 T3
HiThere SSN 1
How can I achieve this?