private void verifyDirAndResult(int expectedDeltas, boolean expectBaseDir) throws Exception {
    verifyDir(expectedDeltas, expectBaseDir);

    // Verify query result
    int [][] resultData = new int[][] {{1,2}, {3,4}};
    List<String> rs = runStatementOnDriver("select a,b from " + TableExtended.MMTBL + " order by a,b");
    Assert.assertEquals(stringifyValues(resultData), rs);
  }
Impala truncates insert-only tables by writing a base directory (like insert overwrite) containing a completely
empty file. Make sure that Hive reads these bases correctly.

@throws Exception
ql/src/test/org/apache/hadoop/hive/ql/TestTxnCommandsForMmTable.java