{
RuleRegistry ruleRegistry = new RuleRegistry();
PlannerContext plannerContext = new PlannerContext( ruleRegistry );
ruleRegistry.addRule( new RemoveNoOpPipeTransformer() );
FlowElementGraph elementGraph = new HashJoinMergeIntoHashJoinStreamedStreamedMergeGraph();
// FlowElementGraph elementGraph = new HashJoinAroundHashJoinLeftMostGraph();
RuleResult ruleResult = new RuleExec( ruleRegistry ).executeRulePhase( PlanPhase.PreResolveAssembly, plannerContext, new RuleResult( elementGraph ) );
FlowElementGraph flowElementGraph = ruleResult.getAssemblyGraph();