Search in sources :

Example 1 with VectorMapJoinVariation

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

the class TestMapJoinOperator method testLong0.

@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);
}
Also used : VectorMapJoinVariation(org.apache.hadoop.hive.ql.plan.VectorMapJoinDesc.VectorMapJoinVariation) Ignore(org.junit.Ignore) Test(org.junit.Test)

Example 2 with VectorMapJoinVariation

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

the class TestMapJoinOperator method testLong0_NoRegularKeys.

@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);
}
Also used : VectorMapJoinVariation(org.apache.hadoop.hive.ql.plan.VectorMapJoinDesc.VectorMapJoinVariation) Ignore(org.junit.Ignore) Test(org.junit.Test)

Example 3 with VectorMapJoinVariation

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

the class TestMapJoinOperator method testString0.

@Test
public void testString0() throws Exception {
    long seed = 87543;
    int hiveConfVariation = 0;
    boolean hiveConfVariationsDone = false;
    do {
        for (VectorMapJoinVariation vectorMapJoinVariation : VectorMapJoinVariation.values()) {
            hiveConfVariationsDone = doTestString0(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 4 with VectorMapJoinVariation

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

the class TestMapJoinOperator method testLong6.

@Test
public void testLong6() throws Exception {
    long seed = 9384;
    int rowCount = 10;
    int hiveConfVariation = 0;
    boolean hiveConfVariationsDone = false;
    do {
        for (VectorMapJoinVariation vectorMapJoinVariation : VectorMapJoinVariation.values()) {
            hiveConfVariationsDone = doTestLong6(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)

Example 5 with VectorMapJoinVariation

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

the class TestMapJoinOperator method testString1.

@Test
public void testString1() throws Exception {
    long seed = 3422;
    int hiveConfVariation = 0;
    boolean hiveConfVariationsDone = false;
    do {
        for (VectorMapJoinVariation vectorMapJoinVariation : VectorMapJoinVariation.values()) {
            hiveConfVariationsDone = doTestString1(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)

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