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

Method setUp

test/org/apache/pig/tez/TestTezCompiler.java:89–97  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

87 }
88
89 @Before
90 public void setUp() throws ExecException {
91 resetScope();
92 pc.getProperties().remove(PigConfiguration.PIG_OPT_MULTIQUERY);
93 pc.getProperties().remove(PigConfiguration.PIG_TEZ_OPT_UNION);
94 pc.getProperties().remove(PigConfiguration.PIG_EXEC_NO_SECONDARY_KEY);
95 pc.getProperties().remove(PigConfiguration.PIG_BLOOMJOIN_STRATEGY);
96 pigServer = new PigServer(pc);
97 }
98
99 private void resetScope() {
100 NodeIdGenerator.reset();

Callers

nothing calls this directly

Calls 3

resetScopeMethod · 0.95
removeMethod · 0.65
getPropertiesMethod · 0.45

Tested by

no test coverage detected