@Test
  public void testInsertOverwriteExecAsync2() throws Exception {
    HiveStatement stmt = (HiveStatement) con.createStatement();

    stmt.execute("SET hive.driver.parallel.compilation=true");
    stmt.execute("SET hive.server2.async.exec.async.compile=true");

    testInsertOverwrite(stmt);
    stmt.close();
  }
Test {@link HiveStatement#executeAsync(String)} for an insert overwrite into a table
@throws Exception
itests/hive-unit/src/test/java/org/apache/hive/jdbc/TestJdbcDriver2.java