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

Method checkQueryOutputsAfterSortRecursive

test/org/apache/pig/test/Util.java:1248–1252  ·  view source on GitHub ↗
(Iterator<Tuple> actualResultsIt,
            String[] expectedResArray, String schemaString)

Source from the content-addressed store, hash-verified

1246 }
1247
1248 static public void checkQueryOutputsAfterSortRecursive(Iterator<Tuple> actualResultsIt,
1249 String[] expectedResArray, String schemaString) throws IOException {
1250 LogicalSchema resultSchema = org.apache.pig.impl.util.Utils.parseSchema(schemaString);
1251 checkQueryOutputsAfterSortRecursive(actualResultsIt, expectedResArray, resultSchema);
1252 }
1253 /**
1254 * Helper function to check if the result of a Pig Query is in line with
1255 * expected results. It sorts actual and expected string results before comparison

Calls 9

bytesToTupleMethod · 0.95
convertBagToSortedBagMethod · 0.95
sortMethod · 0.80
addMethod · 0.65
getBytesMethod · 0.65
parseSchemaMethod · 0.45
hasNextMethod · 0.45
nextMethod · 0.45
assertEqualsMethod · 0.45

Tested by

no test coverage detected