http://stackoverflow.com/questions/17461932/hive-execution-hook 


r7raul1...@163.com
 
From: Amitosh Anand, IDD M Tech, Computer Sci. & Engg., IIT (BHU) Varanasi
Date: 2015-06-02 17:45
To: user
Subject: Tables affected by a query
Hi,
I have been trying to build a hook for hive. I require to get the tables 
affected by a query. I have tried to use HookContext.getQueryPlan 
().getTableAccessInfo () .
It is giving null value for select and create and load data query. Similar is 
the case with other methods. 
Please provide info on how to use these methods. 
It woukd be great if you provide some use case.
Thanks,
Amitosh Anand,
IIT BHU.
  • T... Amitosh Anand, IDD M Tech, Computer Sci. & Engg., IIT (BHU) Varanasi
    • ... r7raul1...@163.com
    • ... r7raul1...@163.com
    • ... Chinna Rao Lalam

Reply via email to