You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Kent Yao (Jira)" <ji...@apache.org> on 2023/08/29 02:44:00 UTC

[jira] [Resolved] (SPARK-44860) Implement SESSION_USER function

     [ https://issues.apache.org/jira/browse/SPARK-44860?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kent Yao resolved SPARK-44860.
------------------------------
    Fix Version/s: 4.0.0
       Resolution: Fixed

Issue resolved by pull request 42549
[https://github.com/apache/spark/pull/42549]

> Implement SESSION_USER function
> -------------------------------
>
>                 Key: SPARK-44860
>                 URL: https://issues.apache.org/jira/browse/SPARK-44860
>             Project: Spark
>          Issue Type: Task
>          Components: SQL
>    Affects Versions: 4.0.0
>            Reporter: Vitalii Li
>            Assignee: Vitalii Li
>            Priority: Major
>             Fix For: 4.0.0
>
>
> According to SQL standard SESSION_USER and CURRENT_USER behavior differs for routines:
> - CURRENT_USER inside a routine should return security definer of a routine, e.g. owner identity
> - SESSION_USER inside a routine should return connected user.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org