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

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

    testSelect(stmt);
    stmt.close();
  }
Test {@link HiveStatement#executeAsync(String)} for a select query
@throws Exception
itests/hive-unit/src/test/java/org/apache/hive/jdbc/TestJdbcDriver2.java