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

[jira] [Created] (SPARK-23379) remove redundant metastore access if the current database name is the same

Feng Liu created SPARK-23379:
--------------------------------

             Summary: remove redundant metastore access if the current database name is the same
                 Key: SPARK-23379
                 URL: https://issues.apache.org/jira/browse/SPARK-23379
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 2.3.1
            Reporter: Feng Liu


We should be able to reduce one metastore access if the target database name is as same as the current database:

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



--
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