kevinwilfong requested code review of "
HIVE-2871 [jira] Add a new hook to run at the beginning and end of the Driver.run method".
Added a new hook which runs at the beginning and end of the Driver.run method. It has pre and post execution methods. I do not provide any implementations as part of this diff.
Driver.run is the highest level method which all queries go through, whether they come from Hive Server, the CLI, or any other entry. We also do not have any hooks before the compilation method is called, and having hooks in Driver.run would provide this. Having hooks in Driver.run will allow, for example, being able to overwrite config values used throughout query processing, including compilation, and at the other end, cleaning up any resources/logging any final values just before returning to the user.
MANAGE HERALD DIFFERENTIAL RULES
WHY DID I GET THIS EMAIL?
Tip: use the X-Herald-Rules header to filter Herald messages in your client.