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 <adeelmahm...@gmail.com> wrote: > Right :) Thanks. Problem solved. > > On Mon, Jul 27, 2015 at 3:18 PM, Xuefu Zhang <xzh...@cloudera.com> 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 <adeelmahm...@gmail.com> >> 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 query. >>> >>> I would appreciate any help. >>> >>> Thanks >>> Adeel >>> >> >> >