private static QB createQB(Table table) {
    String tableName = table.getTTable().getTableName();
    QB qb = new QB("", "", false);
    qb.setTabAlias(tableName, tableName);
    qb.getMetaData().setSrcForAlias(tableName, table);
    return qb;
  }
Test that no staging directory is created for default behavior where the
directory location is on the local file system.
itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/TestParseUtilsStagingDir.java