Feng Liu created SPARK-23378: -------------------------------- Summary: 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
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