planTester.buildPlan("a = load 'a' as (url, hitCount);");
LogicalPlan lp = planTester.buildPlan("split a into b if url == '3', c if hitCount == '3';");
//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 split projection map has null mappedFields
LOSplit split = (LOSplit)lp.getSuccessors(load).get(0);
ProjectionMap splitProjectionMap = split.getProjectionMap();
assertTrue(splitProjectionMap.changes() == false);
LOSplitOutput splitb = (LOSplitOutput)lp.getSuccessors(split).get(0);
ProjectionMap splitbProjectionMap = splitb.getProjectionMap();
assertTrue(splitbProjectionMap.changes() == false);
LOSplitOutput splitc = (LOSplitOutput)lp.getSuccessors(split).get(1);
ProjectionMap splitcProjectionMap = splitc.getProjectionMap();
assertTrue(splitcProjectionMap.changes() == false);
}