ivoson opened a new pull request #33905:
URL: https://github.com/apache/spark/pull/33905


   ### What changes were proposed in this pull request?
   Now in QueryExecutionListener we have exposed API to get the query execution 
information:
   def onSuccess(funcName: String, qe: QueryExecution, durationNs: Long): Unit
   def onFailure(funcName: String, qe: QueryExecution, exception: Exception): 
Unit
   
   But we can not get a clear information that which query is this. In Spark 
SQL, I think that executionId is the identifier of a query execution. It makes 
sense to expose executionId to the QueryExecutionListener, so that people can 
easily find the exact query in UI or history server to track more information 
of the query execution.
   
   ### Why are the changes needed?
   Easier to find the matching query in UI. 
   
   ### Does this PR introduce _any_ user-facing change?
   Developer Api change.
   
   ### How was this patch tested?
   Existing UTs.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to