ing 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 pr
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
w CommonToken(TOK_TABLE_OR_COL,"TOK_TABLE_OR_COL"));
}
lhs.addChild(new ASTNode(new CommonToken(COLUMN,"end_date")));
ASTNode rhs = new ASTNode(new CommonToken(string,date));
lqNode.addChild(lhs);
lqNode.addChild(rhs);
return lqNode;
}
private ASTNode andAST(ASTNode le
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