rightKeys,
outputProj );
final RelNode newLeft = inputRels[ 0 ];
final RelNode newRight = inputRels[ 1 ];
final RelTraitSet traits = join.getCluster().traitSetOf( Cascading.CONVENTION );
final RexNode newCondition = createCondition( join.getCluster().getRexBuilder(), newLeft, leftKeys, newRight, rightKeys );
final CascadingJoinRel newJoin = new CascadingJoinRel( join.getCluster(), traits, convert( newLeft, traits ),
convert( newRight, traits ), newCondition, join.getJoinType(), join.getVariablesStopped(), 0 );