Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have many columns as nan as value but I want to change that nan to null() using mapping ....how to do it?
This is the solution using mapping table:
MapNan:
Mapping
Load
'nan' as ValueToFind,
null() as ValueToReplace
Autogenerate(1);
YourTable:
Load *,
ApplyMap('MapNan',YourField) as NewField
From ....;
Consider also to use Replace() function.
check this thread
Regards,
Prashant