I am exploring Kettle as a new user.
I have set a parameter in a transformation, and I want to use the parameter value in a new derived field. I have looked at both Calculator and Formula, but can't find any idea to get the value in the parameter down to a new field.
What is the best way to approach this? Do I need to write java/java script to accomplish this?
What if I want to use it as part of the condition? For example for something like
if input_field_1 = ${parameter_value}
then set to 1
else set to 2.
This derivation will be performed at row level.
Thanks
L
I have set a parameter in a transformation, and I want to use the parameter value in a new derived field. I have looked at both Calculator and Formula, but can't find any idea to get the value in the parameter down to a new field.
What is the best way to approach this? Do I need to write java/java script to accomplish this?
What if I want to use it as part of the condition? For example for something like
if input_field_1 = ${parameter_value}
then set to 1
else set to 2.
This derivation will be performed at row level.
Thanks
L