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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
PhilHibbs
Creator II
Creator II

tUnite is outputting more rows than input

I have a tUnite component that is producing more rows than are going into it, and two that are producing nothing. I suspect that the outputs from the other two tUnite components are going into the first!

Here is the first:

0683p000009LzUU.png

Here is one of the others, showing one row going in and none coming out:

0683p000009LzJ0.png

Any ideas? I don't think it is a visual glitch, as the aggregate writes out to a file, and the file is not being written.

Labels (2)
4 Replies
PhilHibbs
Creator II
Creator II
Author

Something weird is happening, because the flow appears to be executing three times every time I run it. Is there something weird happening with having several tUnite components in a job?
Anonymous
Not applicable

Hello,

There is no output row from your tMap component. What does your tMap component setting look like?

Best regards

Sabrina

PhilHibbs
Creator II
Creator II
Author

The tMap is producing no rows because there are no rows going into it. The purpose of the tFixedFlowInput and tUnite is to handle this very situation - I want the tAggregate to output a count of zero if there are no rows, but if there are no rows, then the tAggregate doesn't output anything at all. The tFixedFlowInput created a row with a NULL in a particular column, and the tAggregate counts non-NULL values, producing a zero count.

I have since changed to using a tJavaRow component, and fetching the global row count in a subsequent sub-job.

Anonymous
Not applicable

Hello,

Could you please elaborate your case with an example with input and expected output values? We will see if your job design is right size for you.

Best regards

Sabrina