GitHub user cloud-fan opened a pull request:

    https://github.com/apache/spark/pull/15295

    [SPARK-17720][SQL] introduce global SQL conf

    ## What changes were proposed in this pull request?
    
    SQLConf is session-scoped and mutable. However, we do have the requirement 
for a global immutable SQL conf, e.g. the `schemaStringThreshold` in 
`HiveExternalCatalog`, the flag to enable/disable hive support, the global temp 
view database in https://github.com/apache/spark/pull/14897.
    
    Actually we've already implemented global SQL conf implicitly via 
`SparkConf`, this PR just make it explicit and expose it to users, so that they 
can see the config value via SQL command or `SparkSession.conf`, and forbid 
users to set/unset global SQL conf.
    
    
    ## How was this patch tested?
    
    new tests in SQLConfSuite


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/cloud-fan/spark global-conf

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/15295.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #15295
    
----
commit ea2a57f5554e787e100044b11e9049276ad10e3f
Author: Wenchen Fan <[email protected]>
Date:   2016-09-29T08:51:22Z

    introduce global SQL conf

----


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to