Logged In User in Apache Impala

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.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s