Hive - Retrieve Current User
Code description
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
select current_user();
copyright
This page is subject to Site terms.
comment Comments
No comments yet.