createExpectedTestRowMultiSet(testDesc, testData); generateBigAndSmallTableRowLogLines(testDesc, testData); executeRowModeHashMap( testDesc, testData, expectedTestRowMultiSet, break; case ROW_MODE_OPTIMIZED: executeRowModeOptimized( testDesc, testData, expectedTestRowMultiSet, break; case VECTOR_PASS_THROUGH: executeVectorPassThrough( testDesc, testData, expectedTestRowMultiSet, break; case NATIVE_VECTOR_OPTIMIZED: executeNativeVectorOptimized( testDesc, testData, expectedTestRowMultiSet, break; case NATIVE_VECTOR_FAST: executeNativeVectorFast(
private void executeTestInner(MapJoinTestDescription testDesc, MapJoinTestData testData, String title) throws Exception { doExecuteTest(testDesc, testData, title); }
if (!addLongHiveConfVariation(hiveConfVariation, hiveConf)) { return true; mapJoinPlanVariation); if (!goodTestVariation(testDesc)) { return false; new MapJoinTestData(rowCount, testDesc, seed); executeTest(testDesc, testData, "testLong4");
if (!addNonLongHiveConfVariation(hiveConfVariation, hiveConf)) { return true; mapJoinPlanVariation); if (!goodTestVariation(testDesc)) { return false; new MapJoinTestData(rowCount, testDesc, seed); executeTest(testDesc, testData, "testMultiKey0");
Object[] outputObjects = new Object[testDesc.outputColumnNames.length]; addBigTableRetained(testDesc, bigTableRowObjects, outputObjects); addToOutput(testDesc, expectedTestRowMultiSet, outputObjects, RowTestObjectsMultiSet.RowFlag.REGULAR); addBigTableRetained(testDesc, bigTableRowObjects, outputObjects); addToOutput(testDesc, expectedTestRowMultiSet, outputObjects, RowTestObjectsMultiSet.RowFlag.REGULAR); addBigTableRetained(testDesc, bigTableRowObjects, outputObjects); addToOutput(testDesc, expectedTestRowMultiSet, outputObjects, RowTestObjectsMultiSet.RowFlag.LEFT_OUTER); addToOutput(testDesc, expectedTestRowMultiSet, outputObjects, RowTestObjectsMultiSet.RowFlag.FULL_OUTER);
@Test public void testLong2() throws Exception { long seed = 3553; int rowCount = 10; int hiveConfVariation = 0; boolean hiveConfVariationsDone = false; do { for (VectorMapJoinVariation vectorMapJoinVariation : VectorMapJoinVariation.values()) { hiveConfVariationsDone = doTestLong2( seed, rowCount, hiveConfVariation, vectorMapJoinVariation, MapJoinPlanVariation.DYNAMIC_PARTITION_HASH_JOIN); } seed++; hiveConfVariation++; } while (!hiveConfVariationsDone); }
@Ignore @Test public void testLong0() throws Exception { long seed = 234882L; int rowCount = 10; int hiveConfVariation = 0; boolean hiveConfVariationsDone = false; do { for (VectorMapJoinVariation vectorMapJoinVariation : VectorMapJoinVariation.values()) { hiveConfVariationsDone = doTestLong0( seed, rowCount, hiveConfVariation, vectorMapJoinVariation, MapJoinPlanVariation.DYNAMIC_PARTITION_HASH_JOIN); } seed++; hiveConfVariation++; } while (!hiveConfVariationsDone); }
@Ignore @Test public void testLong0_NoRegularKeys() throws Exception { long seed = 234882L; int rowCount = 10; int hiveConfVariation = 0; boolean hiveConfVariationsDone = false; do { for (VectorMapJoinVariation vectorMapJoinVariation : VectorMapJoinVariation.values()) { hiveConfVariationsDone = doTestLong0_NoRegularKeys( seed, rowCount, hiveConfVariation, vectorMapJoinVariation, MapJoinPlanVariation.DYNAMIC_PARTITION_HASH_JOIN); } seed++; hiveConfVariation++; } while (!hiveConfVariationsDone); }
@Ignore @Test public void testLong1() throws Exception { long seed = 234882L; int rowCount = 10; int hiveConfVariation = 0; boolean hiveConfVariationsDone = false; do { for (VectorMapJoinVariation vectorMapJoinVariation : VectorMapJoinVariation.values()) { hiveConfVariationsDone = doTestLong1( seed, rowCount, hiveConfVariation, vectorMapJoinVariation, MapJoinPlanVariation.DYNAMIC_PARTITION_HASH_JOIN); } seed++; hiveConfVariation++; } while (!hiveConfVariationsDone); }
if (!addLongHiveConfVariation(hiveConfVariation, hiveConf)) { return true; mapJoinPlanVariation); if (!goodTestVariation(testDesc)) { return false; new MapJoinTestData(rowCount, testDesc, seed); executeTest(testDesc, testData, "testLong6");
if (!addNonLongHiveConfVariation(hiveConfVariation, hiveConf)) { return true; mapJoinPlanVariation); if (!goodTestVariation(testDesc)) { return false; new MapJoinTestData(rowCount, testDesc, seed); executeTest(testDesc, testData, "testString0");
if (!addLongHiveConfVariation(hiveConfVariation, hiveConf)) { return true; mapJoinPlanVariation); if (!goodTestVariation(testDesc)) { return false; new MapJoinTestData(rowCount, testDesc, seed); executeTest(testDesc, testData, "testLong0");
if (!addNonLongHiveConfVariation(hiveConfVariation, hiveConf)) { return true; mapJoinPlanVariation); if (!goodTestVariation(testDesc)) { return false; new MapJoinTestData(rowCount, testDesc, seed); executeTest(testDesc, testData, "testMultiKey3");
private void executeTestFullOuter(MapJoinTestDescription testDesc, MapJoinTestData testData, String title) throws Exception { doExecuteTest(testDesc, testData, title); }
if (!addLongHiveConfVariation(hiveConfVariation, hiveConf)) { return true; mapJoinPlanVariation); if (!goodTestVariation(testDesc)) { return false; new MapJoinTestData(rowCount, testDesc, seed); executeTest(testDesc, testData, "testLong2");
if (!addNonLongHiveConfVariation(hiveConfVariation, hiveConf)) { return true; mapJoinPlanVariation); if (!goodTestVariation(testDesc)) { return false; new MapJoinTestData(rowCount, testDesc, seed); executeTest(testDesc, testData, "testMultiKey0");
private void executeTestLeftSemi(MapJoinTestDescription testDesc, MapJoinTestData testData, String title) throws Exception { doExecuteTest(testDesc, testData, title); }
if (!addLongHiveConfVariation(hiveConfVariation, hiveConf)) { return true; mapJoinPlanVariation); if (!goodTestVariation(testDesc)) { return false; new MapJoinTestData(rowCount, testDesc, seed); executeTest(testDesc, testData, "testLong1");
if (!addNonLongHiveConfVariation(hiveConfVariation, hiveConf)) { return true; mapJoinPlanVariation); if (!goodTestVariation(testDesc)) { return false; new MapJoinTestData(rowCount, testDesc, seed); executeTest(testDesc, testData, "testString2");
private void executeTestInnerBigOnly(MapJoinTestDescription testDesc, MapJoinTestData testData, String title) throws Exception { doExecuteTest(testDesc, testData, title); }