LogicalPlan lp = planTester.buildPlan(query);
//check that the load projection map is null
LOLoad load = (LOLoad) lp.getRoots().get(0);
ProjectionMap loadProjectionMap = load.getProjectionMap();
assertTrue(loadProjectionMap.changes() == false);
//check that the foreach projection map has null mappedFields
//and null removed fields since the input schema is null
LOForEach foreach = (LOForEach)lp.getLeaves().get(0);
ProjectionMap foreachProjectionMap = foreach.getProjectionMap();