Reading query columns in ExecuteWithHookContext

2014-04-14 Thread Adeel Qureshi
I am trying to read the columns from hive queries being executed by implementing the ExecuteWithHookContext hook. This works fine by extracting ColumnAccessInfo information from HiveContext (which is passed in) .getQueryPlan().getColumnAccessInfo(). This provides access to a TableToColumnAccessMap

Re: Reading query columns in ExecuteWithHookContext

2014-04-14 Thread Navis류승우
It's a bug in ColumnAccessAnalyzer. I've booked this on https://issues.apache.org/jira/browse/HIVE-6910. Thanks, Navis 2014-04-15 11:41 GMT+09:00 Adeel Qureshi adeelmahm...@gmail.com: I am trying to read the columns from hive queries being executed by implementing the ExecuteWithHookContext