hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adeel Qureshi <adeelmahm...@gmail.com>
Subject Obtain query metadata information in UDF
Date Tue, 04 Aug 2015 15:08:58 GMT
I posted a question few days ago about how to capture current user
information in a UDF and the answer basically was to
use SessionState.getUserFromAuthenticator().

I am wondering if there is a similar mechanism to obtain query metadata
information such as the sql statement or the current database or the tables
being referred to in the sql query. Any ideas on how any or all of this
information can be captured in a hive UDF.

I would appreciate any help.
Thanks
Adeel

Mime
View raw message