Hello
I am getting new line character while extracting metadata (column name) from catalog in DQC. I need to replace that with space. Data is extracted as a csv and this new line character is breaking my csv. How can I do that?
Hello
I am getting new line character while extracting metadata (column name) from catalog in DQC. I need to replace that with space. Data is extracted as a csv and this new line character is breaking my csv. How can I do that?
Best answer by Katerina
Hi
We can use expression in column assigner step such as
replace(replace(replace(field, '\r\n', ' '), '\n', ' '), '\r', ' ')
it should work if the newline characters are already part of the field value.
Kind regards,
Katia
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.