stream.println("Physical Plan:");
try {
ExecPhysicalPlan pp =
pigContext.getExecutionEngine().compile(lp, null);
pp.explain(stream);
}
catch (ExecException e) {
StringBuilder sbException = new StringBuilder();
sbException.append("Failed to compile to phyiscal plan: ");
sbException.append(alias);