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

Method buildStorePlan

src/org/apache/pig/PigServer.java:1414–1425  ·  view source on GitHub ↗
(String alias)

Source from the content-addressed store, hash-verified

1412 }
1413
1414 private void buildStorePlan(String alias) throws IOException {
1415 currDAG.parseQuery();
1416 currDAG.buildPlan( alias );
1417
1418 if( !isBatchOn() || alias != null ) {
1419 // MRCompiler needs a store to be the leaf - hence
1420 // add a store to the plan to explain
1421 QueryParserUtils.attachStorePlan(scope, currDAG.lp, "fakefile", null, currDAG.getOperator( alias ),
1422 "fake", pigContext );
1423 }
1424 currDAG.compile();
1425 }
1426
1427 /**
1428 * Compile and execute the current plan.

Callers 2

explainMethod · 0.95
getOperatorForAliasMethod · 0.95

Calls 6

isBatchOnMethod · 0.95
attachStorePlanMethod · 0.95
parseQueryMethod · 0.80
buildPlanMethod · 0.45
getOperatorMethod · 0.45
compileMethod · 0.45

Tested by

no test coverage detected