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

Method isSparkExecType

test/org/apache/pig/test/Util.java:1468–1473  ·  view source on GitHub ↗
(ExecType execType)

Source from the content-addressed store, hash-verified

1466 }
1467
1468 public static boolean isSparkExecType(ExecType execType) {
1469 if (execType.name().toLowerCase().startsWith("spark")) {
1470 return true;
1471 }
1472 return false;
1473 }
1474
1475 public static String findPigJarName() {
1476 final String suffix = System.getProperty("hadoopversion").equals("20") ? "1" : "2";

Calls 1

nameMethod · 0.65

Tested by

no test coverage detected