Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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:
Here is one of the others, showing one row going in and none coming out:
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.
Hello,
There is no output row from your tMap component. What does your tMap component setting look like?
Best regards
Sabrina
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.
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