@Test
  public void testSimpleQuery3() throws Exception {
    LineageInfo lep = new LineageInfo();
    lep.getLineageInfo("FROM (FROM src select src.key, src.value "
        + "WHERE src.key < 10 UNION ALL FROM src1 SELECT src1.* WHERE src1.key > 10 ) unioninput "
        + "INSERT OVERWRITE DIRECTORY '../../../../build/contrib/hive/ql/test/data/warehouse/union.out' "
        + "SELECT unioninput.*", ctx);
    TreeSet<String> i = new TreeSet<String>();
    TreeSet<String> o = new TreeSet<String>();
    i.add("src");
    i.add("src1");
    checkOutput(lep, i, o);
  }
Checks whether the test outputs match the expected outputs.

@param lep
         The LineageInfo extracted from the test
@param i
         The set of input tables
@param o
         The set of output tables
ql/src/test/org/apache/hadoop/hive/ql/tool/TestLineageInfo.java