USER
Descriptionβ
Get the current username and IP that Doris is connected to.
Syntaxβ
USER()
Return Valueβ
Returns the current username and IP Doris is connected to.
format:<user_name>@<ip>
Examplesβ
select user();
+---------------------+
| user() |
+---------------------+
| 'root'@'10.244.2.5' |
+---------------------+