pipe = new Each( pipe, new SortElements( new Fields( "n1", "v1" ), new Fields( "n2", "v2" ) ) );
// unique the pipe
pipe = new GroupBy( pipe, Fields.ALL );
pipe = new Every( pipe, Fields.ALL, new First(), Fields.RESULTS );
// out: name1, name2, movie, name1, rate1, name2, rate2
pipe = new GroupBy( pipe, new Fields( "n1", "n2" ) );
// out: movie, name1, rate1, name2, rate2, score
pipe = new Every( pipe, new Fields( "v1", "v2" ), crossTabOperation );
pipe = new Each( pipe, new Identity( fieldDeclaration ) );
setTails( pipe );
}