Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
How to merge two job output in a single output file.I am adding screenshot of my job:
I have to merge tFileOutputDelimited_3 and tFileOutputDelimited_4 out put in a single output file.Thanks in advance.
because You are attaching as a source my example (sure not the best way, but it was created fast on one of the projects)
You can see below on the same page - for convert csv (comma delimited) string, I read from a file as \t (TAB) delimited, in this case, all row it a single column
If You check other links, You can create more elegant code of course
P.S.
You always could use csvkit, I use it as well from talend for different reasons
hi vapukov,
I am able to generate json file. In place of delimited file I have used tFileInputFullRow.Job design is like that:
Output of this job is:
Now I have to write the tJavaFlex output in a json file, how can I write that? Any guidance will very much favorable for me. Not able to use tFileOutputJson component, because I have to write tjavaFlex data in that generated output file.
Hi Vapukov,
can you share small job design using CSVKIT, simple small demonstration, will help me in writing code elegantly. Thanks in advance.
Solved using Jackson library, by creating a routine in talend.