[ 
https://issues.apache.org/jira/browse/SPARK-44860?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17757788#comment-17757788
 ] 

Snoot.io commented on SPARK-44860:
----------------------------------

User 'vitaliili-db' has created a pull request for this issue:
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
>            Priority: Major
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to