j1wonpark commented on PR #55917:
URL: https://github.com/apache/spark/pull/55917#issuecomment-6216321703

   Hi, we also encountered a related issue: Spark Connect sessions have a user 
ID, but SQL functions such as `current_user()` return the server user.
   
   I’m planning a focused PR to propagate the session user through 
`CurrentUserContext` in `SessionHolder.withSession`, following the suggestions 
in this review, with tests covering execute/analyze paths and context 
restoration.
   
   The scope would be SQL user-context propagation, without adding a new local 
property or authentication behavior. I’ll link back to this PR and its 
discussion. Please let me know if you’d prefer to coordinate this work here.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to