Hi,
we use the Arrow Flight client to execute queries and now we wonder how we can get the job ID so we can link back to https://app.eu.dremio.cloud/job/ ?
Any help will be highly appreciated! Thanks.
Hi,
we use the Arrow Flight client to execute queries and now we wonder how we can get the job ID so we can link back to https://app.eu.dremio.cloud/job/ ?
Any help will be highly appreciated! Thanks.
Hi there,
Welcome to the Dremio community!
For Arrow Flight, you can try this command to get the most recently executed query ID.
SELECT LAST_QUERY_ID
Hope this helps!
Cindy
Hi Cindy,
thanks for your answer! I think that will not work for us since we run multiple queries in parallel, also it would add another roundtrip.
Is there a possibility to inject an external ID (uuid) instead?
Best,
Ralf
Hi,
Unfortunately that would be the only method to grab the job ID at this time. I have submitted an enhancement request to show job ID in Arrow Flight to our product team and can update you if we plan to support this in the future
Cindy
Thanks, much appreciated!
Ralf
@cindy.la - Do we have updates on this? This feature would greatly enhance the visibility of the requests that come in from our service by means of linking the returned Job ID to a custom HTTP header or a tag using tracing services like Lightstep.
Hi @maronavenue ,
Welcome to the Dremio Community!
At this time, it is currently not on the roadmap. I’ll provide your feedback to our team.
Cindy
Any updates for this? Can we get Job ID in Java Arrow Flight client?