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

Method checkQueryOutputs

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

Helper function to check if the result of a Pig Query is in line with expected results. @param actualResults Result of the executed Pig query @param expectedResults Expected results Array to validate against

(Iterator<Tuple> actualResults,
                                    Tuple[] expectedResults)

Source from the content-addressed store, hash-verified

523 * @param expectedResults Expected results Array to validate against
524 */
525 static public void checkQueryOutputs(Iterator<Tuple> actualResults,
526 Tuple[] expectedResults) {
527 checkQueryOutputs(actualResults, Arrays.asList(expectedResults));
528
529 }
530
531 /**
532 * Helper function to check if the result of a Pig Query is in line with

Calls 11

bytesToTupleMethod · 0.95
convertBagToSortedBagMethod · 0.95
sizeMethod · 0.65
addMethod · 0.65
getBytesMethod · 0.65
nextMethod · 0.45
assertEqualsMethod · 0.45
toStringMethod · 0.45
hasNextMethod · 0.45

Tested by

no test coverage detected