HonglunChen created SPARK-34632:
-----------------------------------

             Summary: Can we create 'SessionState' with a username in 
'HiveClientImpl'
                 Key: SPARK-34632
                 URL: https://issues.apache.org/jira/browse/SPARK-34632
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 3.0.0
            Reporter: HonglunChen


[https://github.com/apache/spark/blob/master/sql/hive/src/main/scala/org/apache/spark/sql/hive/client/HiveClientImpl.scala#L165]

Like this:

val state = new SessionState(hiveConf, userName)

We can then easily use the Hive Authorization through the user information in 
the 'SessionState'.

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to