Github user cloud-fan commented on a diff in the pull request:

    https://github.com/apache/spark/pull/20034#discussion_r158501959
  
    --- Diff: 
sql/hive/src/main/scala/org/apache/spark/sql/hive/client/HiveClientImpl.scala 
---
    @@ -186,7 +186,7 @@ private[hive] class HiveClientImpl(
       /** Returns the configuration for the current session. */
       def conf: HiveConf = state.getConf
     
    -  private val userName = state.getAuthenticator.getUserName
    +  private val userName = conf.getUser
    --- End diff --
    
    do you know how Hive get the username internally?


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to