org.apache.hadoop.hive.ql.exec
Class TestExecDriver

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.hadoop.hive.ql.exec.TestExecDriver
All Implemented Interfaces:
junit.framework.Test

public class TestExecDriver
extends junit.framework.TestCase

Mimics the actual query compiler in generating end to end plans and testing them out.


Constructor Summary
TestExecDriver()
           
 
Method Summary
static ExprNodeColumnDesc getStringColumn(String columnName)
           
protected  void setUp()
           
 void testMapPlan1()
           
 void testMapPlan2()
           
 void testMapRedPlan1()
           
 void testMapRedPlan2()
           
 void testMapRedPlan3()
           
 void testMapRedPlan4()
           
 void testMapRedPlan5()
           
 void testMapRedPlan6()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestExecDriver

public TestExecDriver()
Method Detail

setUp

protected void setUp()
Overrides:
setUp in class junit.framework.TestCase

getStringColumn

public static ExprNodeColumnDesc getStringColumn(String columnName)

testMapPlan1

public void testMapPlan1()
                  throws Exception
Throws:
Exception

testMapPlan2

public void testMapPlan2()
                  throws Exception
Throws:
Exception

testMapRedPlan1

public void testMapRedPlan1()
                     throws Exception
Throws:
Exception

testMapRedPlan2

public void testMapRedPlan2()
                     throws Exception
Throws:
Exception

testMapRedPlan3

public void testMapRedPlan3()
                     throws Exception
Throws:
Exception

testMapRedPlan4

public void testMapRedPlan4()
                     throws Exception
Throws:
Exception

testMapRedPlan5

public void testMapRedPlan5()
                     throws Exception
Throws:
Exception

testMapRedPlan6

public void testMapRedPlan6()
                     throws Exception
Throws:
Exception


Copyright © 2013 The Apache Software Foundation