Assuming you have two pipes, then
Pipe cartesian = new CoGroup(“cartesian join”, p1, Fields.NONE, p2, Fields.NONE, new OuterJoin());
should do the trick.
If one of the pipes has a relatively small number of tuples, then it’s going to be much more efficient to use a HashJoin instead of a CoGroup (just make sure p2 is the pipe with the small number of tuples)
— Ken