Re: Obtain user identity in UDF

2015-08-03 Thread Adeel Qureshi
Is there a similar example where the query information is being retrieved. So I want to find out which table or the database the query is being run for by the user. Thanks Adeel On Mon, Jul 27, 2015 at 3:26 PM, Adeel Qureshi wrote: > Right :) Thanks. Problem solved. > > On Mon, Jul 27, 2015 at

Re: Obtain user identity in UDF

2015-07-27 Thread Adeel Qureshi
Right :) Thanks. Problem solved. On Mon, Jul 27, 2015 at 3:18 PM, Xuefu Zhang wrote: > There is a udf, current_user, which returns a value that can passed to > your udf as an input, right? > > On Mon, Jul 27, 2015 at 1:13 PM, Adeel Qureshi > wrote: > >> Is there a way to obtain user authenticat

Re: Obtain user identity in UDF

2015-07-27 Thread Xuefu Zhang
There is a udf, current_user, which returns a value that can passed to your udf as an input, right? On Mon, Jul 27, 2015 at 1:13 PM, Adeel Qureshi wrote: > Is there a way to obtain user authentication information in a UDF like > kerberos username that they have logged in with to execute a hive q

Obtain user identity in UDF

2015-07-27 Thread Adeel Qureshi
Is there a way to obtain user authentication information in a UDF like kerberos username that they have logged in with to execute a hive query. I would appreciate any help. Thanks Adeel