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)
| 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 |
no test coverage detected