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

Method removeSignature

test/org/apache/pig/test/Util.java:1312–1314  ·  view source on GitHub ↗

this removes the signature from the serialized plan changing the way the unique signature is generated should not break this test @param plan the plan to canonicalize @return the cleaned up plan

(String plan)

Source from the content-addressed store, hash-verified

1310 * @return the cleaned up plan
1311 */
1312 public static String removeSignature(String plan) {
1313 return plan.replaceAll("','','[^']*','scope','true'\\)\\)", "','','','scope','true'))");
1314 }
1315
1316 public static boolean isHadoop203plus() {
1317 String version = org.apache.hadoop.util.VersionInfo.getVersion();

Callers 3

runMethod · 0.95
runMethod · 0.95
runMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected