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

   A precedent would be how Hive Thriftserver does it, which is set it to the 
`CURRENT_USER` 
(https://github.com/apache/spark/blob/e3eda671de6595e6d3071f3a9563f12ba0ea71cd/sql/hive-thriftserver/src/main/scala/org/apache/spark/sql/hive/thriftserver/SparkOperation.scala#L114),
 which then also works with the `current_user` function.
   
   As @uros-b mentioned 
https://github.com/apache/spark/pull/55917#discussion_r3624122169 this by 
itself does not prevent the client from setting anything they want as username, 
authentication/verification of that is a different layer not provided by Spark.


-- 
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