hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "r7raul1984@163.com" <r7raul1...@163.com>
Subject Re: Tables affected by a query
Date Tue, 02 Jun 2015 09:31:14 GMT

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


r7raul1984@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.
Mime
View raw message