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

Apache Spark commented on SPARK-23378:
--------------------------------------

User 'liufengdb' has created a pull request for this issue:
https://github.com/apache/spark/pull/20564

> move setCurrentDatabase from HiveExternalCatalog to HiveClientImpl
> ------------------------------------------------------------------
>
>                 Key: SPARK-23378
>                 URL: https://issues.apache.org/jira/browse/SPARK-23378
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 2.3.1
>            Reporter: Feng Liu
>            Priority: Major
>
> Conceptually, no methods of HiveExternalCatalog, besides the 
> `setCurrentDatabase`, should change the `currentDatabase` in the hive session 
> state. We can enforce this rule by removing the usage of `setCurrentDatabase` 
> in the HiveExternalCatalog.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to