GitHub user andrewor14 opened a pull request:

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

    [SPARK-15583][SQL] Disallow altering datasource properties

    ## What changes were proposed in this pull request?
    
    Certain table properties (and SerDe properties) are in the protected 
namespace `spark.sql.sources.`, which we use internally for datasource tables. 
The user should not be allowed to
    
    (1) Create a Hive table setting these properties
    (2) Alter these properties in an existing table
    
    Previously, we threw an exception if the user tried to alter the properties 
of an existing datasource table. However, this is overly restrictive for 
datasource tables and does not do anything for Hive tables.
    
    ## How was this patch tested?
    
    DDLSuite

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

    $ git pull https://github.com/andrewor14/spark alter-table-props

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

    https://github.com/apache/spark/pull/13341.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 #13341
    
----
commit 9e9a630ec20ee1d569dedd50fb4893f5bd50dc7c
Author: Andrew Or <[email protected]>
Date:   2016-05-26T23:29:43Z

    Disallow altering datasource properties

----


---
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