schema.addField(new LogicalSchema.LogicalFieldSchema("name", null, DataType.CHARARRAY));
schema.addField(new LogicalSchema.LogicalFieldSchema("age", null, DataType.INTEGER));
schema.getField(0).uid = 1;
schema.getField(1).uid = 2;
schema.getField(2).uid = 3;
LogicalRelationalOperator l1 = new LOLoad(null, schema, plan);
l1.setAlias("A");
plan.add(l1);
schema = new LogicalSchema();
schema.addField(new LogicalSchema.LogicalFieldSchema("id", null, DataType.INTEGER));
schema.addField(new LogicalSchema.LogicalFieldSchema("dept", null, DataType.INTEGER));
schema.addField(new LogicalSchema.LogicalFieldSchema("salary", null, DataType.FLOAT));
schema.getField(0).uid = 4;
schema.getField(1).uid = 5;
schema.getField(2).uid = 6;
LogicalRelationalOperator l2 = new LOLoad(null, schema, plan);
l2.setAlias("B");
plan.add(l2);
MultiMap<Integer, LogicalExpressionPlan> joinPlans = new MultiMap<Integer, LogicalExpressionPlan>();
LogicalExpressionPlan p1 = new LogicalExpressionPlan();
ProjectExpression lp1 = new ProjectExpression(p1, DataType.CHARARRAY, 0, 1);