Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
There is an existing current_user() UDF which returns the user provided by the configured hive.security.authenticator.manager. This is often the same as the user provided on connection, but some cases, like HadoopDefaultAuthenticator this could be different.
Some cases we need the logged in user independently of the configured authenticator, so a new UDF is created which provides this - returns the SessionState.get().getUserName().
Attachments
Attachments
Issue Links
- is related to
-
HIVE-9143 select user(), current_user()
-
- Closed
-