Is there anyway to get the query ID and status using Athena JDBC driver?

Question:

Is there anyway to get the Athena query ID for a query I submit Athena JDBC driver? Any API calls to the status of a Query (with its query ID?)
Any way to get the query history via API call?

Answer:

I am using the following piece of code to retrieve the query id:

Leave a Reply