Github user gatorsmile commented on a diff in the pull request:

    https://github.com/apache/spark/pull/14757#discussion_r75986531
  
    --- Diff: 
sql/hive/src/test/scala/org/apache/spark/sql/hive/HiveExternalCatalogSuite.scala
 ---
    @@ -21,26 +21,26 @@ import org.apache.hadoop.conf.Configuration
     
     import org.apache.spark.SparkConf
     import org.apache.spark.sql.catalyst.catalog._
    -import org.apache.spark.sql.hive.client.HiveClient
     
     /**
      * Test suite for the [[HiveExternalCatalog]].
      */
     class HiveExternalCatalogSuite extends ExternalCatalogSuite {
    --- End diff --
    
    Before the PR, what `HiveExternalCatalogSuite` uses is a 
[HiveUtils.newClientForExecution](https://github.com/apache/spark/blob/7bb64aae27f670531699f59d3f410e38866609b7/sql/hive/src/test/scala/org/apache/spark/sql/hive/HiveExternalCatalogSuite.scala#L34)
 . The `newClientForExecution`'s configuration is `newTemporaryConfiguration`, 
[which makes a new path for 
metastore](https://github.com/apache/spark/blob/2ae7b88a07140e012b6c60db3c4a2a8ca360c684/sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveUtils.scala#L366-L379).
 Thus, we can say it is pointing to a different metastore.
    



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to