This is a continuation post of “Connected User in Impala Daemon“
Apart from USER() and Effective_User() there’s one more function that retrieves user information in Apache Impala.
The function is LOGGED_IN_USER() which typically returns the same value as USER(). If delegation is enabled, it returns the ID of the delegated user. LOGGED_IN_USER() is an alias of EFFECTIVE_USER() introduced in CDH 6.1 onwards which returns a string value.
2 comments