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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.3.1
    • 2.4.0
    • SQL
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: