Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Iam trying to union all the output from tmap and tschemacompliancecheck components to tUnite with same metadata, but unable to both connect output links to tUnite
Hi,
You will not be able to connect both input streams in your case since both input streams are part of same subjob and will create cyclic connection.
An option to avoid this is to write the interim data to a temp file and in the next subjob, read the data from all the temp files and do the union using tUnite component.
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
Hello,
Have you try to define the output schema of tschemacompliancecheck ?
regards
Laurent
Yes, the schema from tmap and tcomplienceschemacheck are same.
Ok, and the output schema of the tUnite, is it defined and set as the same of inputs ?
Hi,
You will not be able to connect both input streams in your case since both input streams are part of same subjob and will create cyclic connection.
An option to avoid this is to write the interim data to a temp file and in the next subjob, read the data from all the temp files and do the union using tUnite component.
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
Regarding: "An option to avoid this is to write the interim data to a temp file and in the next subjob, read the data from all the temp files and do the union using tUnite component."
Yeah that doesn't work because you STILL can't union the flows. Plus the components are in a loop.