Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Using tReplicate with tUnite

Hi,

I need to split a dataset using tReplicate and then rejoin them using tUnite. I've seen that Talend doesn't allow this in  a SubJob so I thought I could try separating them by using the tReplicate in one Subjob & then using tUnite in another Subjob.

I can get them to connect but I wondered why this job isn't running?

The below snapshot of my Job shows the components starting at the 2 tMaps that split address types, then the duplicates are removed, I then wanted to end the Subjobs there before I use the tBufferInput components and then append the data using the tUnite component.

The error I get at the second tBufferInput (After the OnComponentOk) is "A component that is not a subprocess start can not have any link on component ok / on component error in input".

I think this refers to the same issue but I'm not sure.

My question is, can I use a second subjob to allow the rejoining of my 2 datasets using this method, or is there another way?

Thanks 

  

  0683p000009M53r.gif

Labels (2)
1 Solution

Accepted Solutions
TRF
Champion II
Champion II

You can't join 2 flows which have been separated in the same flow and you cannot have mode than 1 starting component for the same subjob. 

Consider the following design instead of yours:

0683p000009M58v.png

View solution in original post

4 Replies
TRF
Champion II
Champion II

You can't join 2 flows which have been separated in the same flow and you cannot have mode than 1 starting component for the same subjob. 

Consider the following design instead of yours:

0683p000009M58v.png

Anonymous
Not applicable
Author

Thanks TRF,

Could you explain the steps you've taken in order so I can follow your Job?

I haven't used HashInput yet & I don't get how they work in a Job.

Thanks  

TRF
Champion II
Champion II

tHashOutput allow you to have records in memory and tHashInput are used to read these records.

A tHashInput is linked to the tHashOutput of your choice.

You just have to copy manually the schema from the tHashOutput to the tHashInput and that's all.

In your case tHashOutput components must be placed after tUniq components.

The right part of your job must be redesigned as proposed in my example.

Anonymous
Not applicable
Author

Thanks TRF,

I'll give it a go.

Cheers