Github user yhuai commented on the pull request: https://github.com/apache/spark/pull/13128#issuecomment-220411852 All Spark confs are not mutable. For SQL, those metastore related confs are also not mutable considering the long-running metastore client that we have. I do think it is reasonable to explicitly mark `spark.sql.warehouse.dir` as not mutable. We can make it clear in our doc (for example, have a list of immutable confs of SQL in Spark SQL programming guide). If we want to throw exceptions, it will be good to consider both Spark conf and immutable SQL confs together.
--- 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