Session information#

Примечание

Ниже приведена оригинальная документация Trino. Скоро мы ее переведем на русский язык и дополним полезными примерами.

Functions providing information about the query execution environment.

current_user#

Returns the current user running the query.

current_groups()#

Returns the list of groups for the current user running the query.

current_catalog#

Returns a character string that represents the current catalog name.

current_schema#

Returns a character string that represents the current unqualified schema name.

Примечание

This is part of the SQL standard and does not use parenthesis.