You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2018/02/10 00:23:00 UTC

[jira] [Commented] (SPARK-23378) move setCurrentDatabase from HiveExternalCatalog to HiveClientImpl

    [ 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org