Forum Discussion

yashsri's avatar
yashsri
New Contributor II
8 years ago

How to pass source column name as parameter and then get its value?

Hi,
I have defined a parameter col1 =$col_name. Now I want to use this in mapper expression.
Once it is replaced it should behave like a source input column and its value should source input value.

In the below screenshot, I have used same col_name coming from source and assigning to target column. in one senario it is direct and in other I am passing that column name as parameter. In 2nd scenarios it doesn;t work as expected. How do I achieve this?

4 Replies