Search - User list
Full Version: Partition by Combination TOP
Root » PDG/TOPs » Partition by Combination TOP
jparker
I have a set of N work items A, that I want to combine with N work items B, so that I get ANxBN output work items. I thought that the partitionbycombination TOP would be the perfect fit for this... but if I wire both streams in to the TOP, not only does it do what I want but it also combines each input with itself.

Maybe I'm missing an obvious way to do this in TOPS (without writing Python code!!!). Is there another way to do that?

-Jon
tpetrick
You should be able to use a Partition by Node, with the partitioning mode set to Input Work Item Combination. The Partition by Combination TOP treats all inputs as a flat list of work items, however the Partition by Node will group work items by the input node they original came from.

jparker
Yes! That is exactly what I want. As soon as I'm in front of a box I'll test it out. Thanks!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB