ctx.setEnforcer(new Enforcer());
Expr context = analyzer.parse(QUERIES[4]);
LogicalNode plan = planner.createPlan(session, context).getRootBlock().getRoot();
PhysicalPlanner phyPlanner = new PhysicalPlannerImpl(conf, sm);
PhysicalExec exec = phyPlanner.createPlan(ctx, plan);
//maybe plan results with hash join exec algorithm usage. Must convert from HashLeftOuterJoinExec into NLLeftOuterJoinExec
ProjectionExec proj = (ProjectionExec) exec;
if (proj.getChild() instanceof HashLeftOuterJoinExec) {
HashLeftOuterJoinExec join = proj.getChild();