private static Table createTable(String tableName, Path location) {
    Table table = new Table();
    table.setTTable(createTTableObject(tableName));
    table.setDataLocation(location);
    return table;
  }
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