}
// Test that schemas are patched up after a transform
@Test
public void testSchemaPatcher() throws IOException {
SchemaPatcher patcher = new SchemaPatcher();
patcher.transformed(lp, changedPlan);
// Check that the filter now has the proper schema.
List<Operator> roots = changedPlan.getSources();
assertEquals(1, roots.size());
LOFilter D = (LOFilter)roots.get(0);