MCPcopy Create free account
hub / github.com/apache/pig / buildPp

Method buildPp

test/org/apache/pig/test/Util.java:1169–1175  ·  view source on GitHub ↗
(PigServer pigServer, String query)

Source from the content-addressed store, hash-verified

1167 }
1168
1169 public static PhysicalPlan buildPp(PigServer pigServer, String query)
1170 throws Exception {
1171 LogicalPlan lp = buildLp( pigServer, query );
1172 lp.optimize(pigServer.getPigContext());
1173 return ((HExecutionEngine)pigServer.getPigContext().getExecutionEngine()).compile(lp,
1174 pigServer.getPigContext().getProperties());
1175 }
1176
1177 public static LogicalPlan parse(String query, PigContext pc) throws FrontendException {
1178 Map<String, String> fileNameMap = new HashMap<String, String>();

Callers 15

runMethod · 0.95
testShipOrcLoaderMethod · 0.95
testShipOrcStorerMethod · 0.95
testShipAvroLoaderMethod · 0.95
testShipJsonLoaderMethod · 0.95
testDefaultParallelMethod · 0.95

Calls 6

buildLpMethod · 0.95
optimizeMethod · 0.95
getExecutionEngineMethod · 0.65
getPigContextMethod · 0.45
compileMethod · 0.45
getPropertiesMethod · 0.45

Tested by

no test coverage detected