Search in sources :

Example 16 with VectorMapJoinVariation

use of org.apache.hadoop.hive.ql.plan.VectorMapJoinDesc.VectorMapJoinVariation in project hive by apache.

the class TestMapJoinOperator method testMultiKey1.

@Test
public void testMultiKey1() throws Exception {
    long seed = 87543;
    int hiveConfVariation = 0;
    boolean hiveConfVariationsDone = false;
    do {
        for (VectorMapJoinVariation vectorMapJoinVariation : VectorMapJoinVariation.values()) {
            hiveConfVariationsDone = doTestMultiKey1(seed, hiveConfVariation, vectorMapJoinVariation, MapJoinPlanVariation.DYNAMIC_PARTITION_HASH_JOIN);
        }
        seed++;
        hiveConfVariation++;
    } while (!hiveConfVariationsDone);
}
Also used : VectorMapJoinVariation(org.apache.hadoop.hive.ql.plan.VectorMapJoinDesc.VectorMapJoinVariation) Test(org.junit.Test)

Example 17 with VectorMapJoinVariation

use of org.apache.hadoop.hive.ql.plan.VectorMapJoinDesc.VectorMapJoinVariation in project hive by apache.

the class TestMapJoinOperator method testLong3_NoRegularKeys.

@Test
public void testLong3_NoRegularKeys() throws Exception {
    long seed = 9934;
    int rowCount = 10;
    int hiveConfVariation = 0;
    boolean hiveConfVariationsDone = false;
    do {
        for (VectorMapJoinVariation vectorMapJoinVariation : VectorMapJoinVariation.values()) {
            hiveConfVariationsDone = doTestLong3_NoRegularKeys(seed, rowCount, hiveConfVariation, vectorMapJoinVariation, MapJoinPlanVariation.DYNAMIC_PARTITION_HASH_JOIN);
        }
        seed++;
        hiveConfVariation++;
    } while (!hiveConfVariationsDone);
}
Also used : VectorMapJoinVariation(org.apache.hadoop.hive.ql.plan.VectorMapJoinDesc.VectorMapJoinVariation) Test(org.junit.Test)

Aggregations

VectorMapJoinVariation (org.apache.hadoop.hive.ql.plan.VectorMapJoinDesc.VectorMapJoinVariation)17 Test (org.junit.Test)16 Ignore (org.junit.Ignore)3 ArrayList (java.util.ArrayList)1 List (java.util.List)1 HiveException (org.apache.hadoop.hive.ql.metadata.HiveException)1 ExprNodeDesc (org.apache.hadoop.hive.ql.plan.ExprNodeDesc)1 HashTableImplementationType (org.apache.hadoop.hive.ql.plan.VectorMapJoinDesc.HashTableImplementationType)1 HashTableKeyType (org.apache.hadoop.hive.ql.plan.VectorMapJoinDesc.HashTableKeyType)1 HashTableKind (org.apache.hadoop.hive.ql.plan.VectorMapJoinDesc.HashTableKind)1 VectorMapJoinInfo (org.apache.hadoop.hive.ql.plan.VectorMapJoinInfo)1 UDFToByte (org.apache.hadoop.hive.ql.udf.UDFToByte)1 DecimalTypeInfo (org.apache.hadoop.hive.serde2.typeinfo.DecimalTypeInfo)1 ListTypeInfo (org.apache.hadoop.hive.serde2.typeinfo.ListTypeInfo)1 MapTypeInfo (org.apache.hadoop.hive.serde2.typeinfo.MapTypeInfo)1 PrimitiveTypeInfo (org.apache.hadoop.hive.serde2.typeinfo.PrimitiveTypeInfo)1 StructTypeInfo (org.apache.hadoop.hive.serde2.typeinfo.StructTypeInfo)1 TypeInfo (org.apache.hadoop.hive.serde2.typeinfo.TypeInfo)1