Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
This is a work around, which would work only for specific functions. Also, it will be tedious task to do so.
But you can create above given generic job.
Using tfileinput > Tjava > tfileoutput
In tfileinput use schema as dynamic.
In tjava ,use dynamic datatype and meta functions provided with dynamic type( like getColumnName, getColumnType ) to perform required functions.
In tfileoutput use dynamic schema to store file data.
Hi,
You might have to do custom coding but dynamic schema will help you to make it within a single job. A simple example can be referred from below Blog.
https://www.talend.com/blog/2019/10/31/magically-shuffle-columns-talend-dynamic-schema/
But you will have to make necessary changes based on your use case.
Warm Regards,
Nikhil Thampi
Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved