My input attributes have numeric or string values, with possible empty string values.
I would like to replace empty string values with Null.
When I use the option "Substitute Missing, Null and Empty by: Default Value", and set "Default Value: <null>", nothing happens. The values remain unchanged (with empty string values).
I can get the desired result with the help of "Action:Set Value" and Value: Conditional Value -> If ATTRIBUTE IS EMPTY -> Value <null>".
I know I can use the Null Attribute Mapper transformer, and the Set Conditional Value method above, but using the
"Substitute Missing, Null and Empty by: Default Value" option seems the most elegant to me.
Have I misunderstood the purpose of "Substitute Missing, Null and Empty by: Default Value" or am I using it the wrong way?