@Override
  public OperationHandle downloadData(
      SessionHandle sessionHandle,
      String tableName,
      String query,
      String format,
      Map<String, String> options) throws HiveSQLException {
    LOG.info(sessionHandle + ": downloadData()");
    return sessionManager.getSession(sessionHandle).downloadData(tableName, query, format, options);
  }
Execute statement asynchronously on the server with a timeout. This is a non-blocking call
service/src/java/org/apache/hive/service/cli/CLIService.java