select current_user();
visibility 70
comment 0
access_time 8 months ago
language English
Hive - Retrieve Current User
This code snippet provides example of retrieving current user via current_user()
function in HQL (Hive QL) code.
Output:
0: jdbc:hive2://> select current_user();
OK
+----------+
| _c0 |
+----------+
| kontext |
+----------+
Code snippet
copyright
This page is subject to Site terms.
Log in with external accounts
comment Comments
No comments yet.
warning Please login first to view stats information.