SESSION_USER
Descriptionโ
Get the current username and IP of Doris connection, compatible with MySQL protocol.
Syntaxโ
SESSION_USER()
Return Valueโ
Returns the current username and IP Doris is connected to.
Format:<user_name>@<ip>
Examplesโ
select session_user();
+----------------------+
| session_user() |
+----------------------+
| 'root'@'10.244.2.10' |
+----------------------+