Search in sources :

Example 11 with VectorMapJoinVariation

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

the class TestMapJoinOperator method testLong5.

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

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

the class TestMapJoinOperator method testMultiKey2.

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

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

the class TestMapJoinOperator method testString2.

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

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

the class TestMapJoinOperator method testLong1.

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

Example 15 with VectorMapJoinVariation

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

the class TestMapJoinOperator method testLong2.

@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);
}
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