dillitz opened a new pull request, #42984: URL: https://github.com/apache/spark/pull/42984
### What changes were proposed in this pull request? Adding a `CommandPluginWithQueryPlanningTracker` interface which extends the already existing `CommandPlugin` interface with a `process()` method that one can pass a `QueryPlanningTracker` to. ### Why are the changes needed? There is currently no way to track queries executed by a `CommandPlugin`. ### Does this PR introduce _any_ user-facing change? Users now can also write trackable plugins by implementing the `CommandPluginWithQueryPlanningTracker`. Since this extends the `CommandPlugin` interface such plugins are also backward-compatible to older versions of spark only knowing the `CommandPlugin` interface. ### How was this patch tested? Test added. ### Was this patch authored or co-authored using generative AI tooling? No -- 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]
