Sidebar

HPL/SQL is included to Apache Hive since version 2.0

user

USER Function - PL/HQL

USER function returns the name of the user executing the current PL/HQL script.

Syntax:

USER

Return Type:

STRING

Example:

Get the current user:

USER
--
paul

Compatibility: Oracle, IBM DB2 and Teradata.

Version: PL/HQL 0.3.11

See also: