title: Apache Hive - post execution hook
body: <p>I came to know that Hive hooks to interrupt hive execution flow and hook our code and hook will work first.
  I want to create post execution hook or post driver hook, to capture hive query output and to apply or replace sensitive column values with static value (ex. NULL).</p>
  
  <p>i gone through :<a href="https://stackoverflow.com/questions/17461932/hive-execution-hook">Hive execution hook</a></p>
  
  <p>I tried with post execution hook:
  im not getting how to capture query result after Hive Engine process the query before seding result to driver.</p>
  
  <pre><code>public class HiveExampleHook implements ExecuteWithHookContext {
  public void run(HookContext hookContext) throws Exception {
      System.out.println("Hello from the hook !!");
     /* catch output of query and feed back the output to hive execution flow to show to HIVE Client/UI. */
  }
  </code></pre>
  
  <p>}</p>
  
  <p>Kindly, Please help me to solve this issue.</p>
  
  <p>Thanks in advance.</p>