Github user jiangxb1987 commented on the issue: https://github.com/apache/spark/pull/14401 @rxin As @yhuai previously addressed, this change benifits in following cases: 1. Right now, we set the warehouse path to the default one firstly, and then we override the setting in `TestHiveSharedState` when we create `metadataHive`. This flow is not easy to follow and can introduce confusion in debugging. 2. Removing the field of `warehousePath` will be the first step in removing `TestHiveSessionState` and `TestHiveSharedState`, so that we can really test the reflection logic based on the setting of `CATALOG_IMPLEMENTATION`.
--- 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