[ 
https://issues.apache.org/jira/browse/HIVE-14100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15533457#comment-15533457
 ] 

Mohit Sabharwal commented on HIVE-14100:
----------------------------------------

Thanks, [~pvary], LGTM, +1.

Could you fix the jira title to say you're adding a new UDF called 
logged_in_user() ?
Currently, it appears you are fixing current_user()

> current_user() returns invalid information
> ------------------------------------------
>
>                 Key: HIVE-14100
>                 URL: https://issues.apache.org/jira/browse/HIVE-14100
>             Project: Hive
>          Issue Type: Bug
>          Components: Authentication, Beeline
>            Reporter: Peter Vary
>            Assignee: Peter Vary
>            Priority: Minor
>         Attachments: HIVE-14100.2.patch, HIVE-14100.2.patch, 
> HIVE-14100.2.patch, HIVE-14100.patch
>
>
> Using HadoopDeaultAuthenticator the current_user() returns the username of 
> the unix user running hiveservice2.
> Using SessionStateUserAuthenticator the current_user returns the username 
> which is provided when the connection started.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to