Search in sources :

Example 1 with MapJoinTestImplementation

use of org.apache.hadoop.hive.ql.exec.vector.mapjoin.MapJoinTestConfig.MapJoinTestImplementation in project hive by apache.

the class TestMapJoinOperator method executeTest.

private void executeTest(MapJoinTestDescription testDesc, MapJoinTestData testData) throws Exception {
    RowTestObjectsMultiSet expectedTestRowMultiSet = createExpectedTestRowMultiSet(testDesc, testData);
    // UNDONE: Inner count
    System.out.println("*BENCHMARK* expectedTestRowMultiSet rowCount " + expectedTestRowMultiSet.getRowCount() + " totalCount " + expectedTestRowMultiSet.getTotalCount());
    // Execute all implementation variations.
    for (MapJoinTestImplementation mapJoinImplementation : MapJoinTestImplementation.values()) {
        executeTestImplementation(mapJoinImplementation, testDesc, testData, expectedTestRowMultiSet);
    }
}
Also used : RowTestObjectsMultiSet(org.apache.hadoop.hive.ql.exec.util.rowobjects.RowTestObjectsMultiSet) MapJoinTestImplementation(org.apache.hadoop.hive.ql.exec.vector.mapjoin.MapJoinTestConfig.MapJoinTestImplementation)

Aggregations

RowTestObjectsMultiSet (org.apache.hadoop.hive.ql.exec.util.rowobjects.RowTestObjectsMultiSet)1 MapJoinTestImplementation (org.apache.hadoop.hive.ql.exec.vector.mapjoin.MapJoinTestConfig.MapJoinTestImplementation)1