@Override
  public <T> T unwrap(Class<T> iface) throws SQLException {
    throw new SQLException("Cannot unwrap to " + iface);
  }
Poll on the operation status, till the operation is complete. We want to ensure that since a
client might end up using executeAsync and then call this to check if the query run is
finished.
jdbc/src/java/org/apache/hive/jdbc/HiveStatement.java