When I use jdbc to get data.
And I want to know job status, like Web UI.
What should I do?
If you are using open source jdbc drivers then you can:
ResultSet rs = ...;
verify(rs.isWrappedFor(PrestoResultSet.class);
Strring queryId = rs.unwrap(PrestoResultSet.class).getQueryId();
There is also PrestoStatement.setProgressMonitor()
I filed an issue to document it: https://github.com/prestodb/presto/issues/10175
Most helpful comment
There is also PrestoStatement.setProgressMonitor()
I filed an issue to document it: https://github.com/prestodb/presto/issues/10175