Github user dongjoon-hyun commented on a diff in the pull request:
https://github.com/apache/spark/pull/20565#discussion_r167411254
--- Diff:
sql/hive/src/main/scala/org/apache/spark/sql/hive/client/HiveClientImpl.scala
---
@@ -292,10 +292,12 @@ private[hive] class
GitHub user liufengdb opened a pull request:
https://github.com/apache/spark/pull/20565
SPAR[SPARK-23379][SQL] remove redundant metastore access
## What changes were proposed in this pull request?
If the target database name is as same as the current database, we should
be