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