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)
| 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(); |