[resolved] how to replace in a field when the row separator is also
Hello,
I have a delimited file (field separator "\t", row separator "\n") looking like :
1
\tblue
\tapple
\n 2
\tred
\n \tpeer
\n tFileInputDelimited will fail on line 2 ...
So my idea was to replace the row separator so I will be able to replace \n by "" in the field. Bbut I didn't found a component for that
Well this format is really big shit
. Well, still there is solution of course 🙂 If you know the schema, you can go trough the whole file and detect \t char which seems to be used as column delimiter and repair the file first before it can be read by Talend.
Send me the file to archenroot@gmail.com, I can write small code which will standardize the file.
Ladislav