Is there a way to get the request id and status using the Athena JDBC driver?

Anyway, to get Athena query IDfor the request, am I sending the Athena JDBC driver? Does any API call request status (with its request identifier?) Any way to get request history through an API call?

+4
source share
2 answers

Yes, you can register IDS requests, such as log messages. These messages will be stored in a log file that you can specify when connecting to the JDBC driver.

Log_path attribute

ref Official Documentation

+2
source

:

AthenaResultSet rs = (AthenaResultSet) statement.executeQuery(query);
Object queryId = ((AthenaStatementClient)rs.getClient()).getQueryExecutionId();
+2

Source: https://habr.com/ru/post/1672390/


All Articles