Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-23379

remove redundant metastore access if the current database name is the same

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.1
    • Fix Version/s: 2.4.0
    • Component/s: SQL
    • Labels:
      None

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              fengliu@databricks.com Feng Liu
              Reporter:
              liufeng.ee@gmail.com Feng Liu
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: