GitHub user gatorsmile opened a pull request:

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

    [SPARK-18217] [SQL] Disallow creating permanent views based on temporary 
views or UDFs

    ### What changes were proposed in this pull request?
    Based on the discussion in 
[SPARK-18209](https://issues.apache.org/jira/browse/SPARK-18209). It doesn't 
really make sense to create permanent views based on temporary views or 
temporary UDFs. 
    
    This PR is to disallow the supports and issue the exceptions.
    
    TODO: update the PR descriptions.
    
    ### How was this patch tested?
    Added test cases.

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

    $ git pull https://github.com/gatorsmile/spark blockTempFromPermViewCreation

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

    https://github.com/apache/spark/pull/15764.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 #15764
    
----
commit 509327e303984906ce4c87e459d6323582963089
Author: gatorsmile <gatorsm...@gmail.com>
Date:   2016-11-04T02:42:18Z

    fix.

commit 1b430bb366d1bd2e567f87c9b640e7c88ffbb144
Author: gatorsmile <gatorsm...@gmail.com>
Date:   2016-11-04T04:25:18Z

    fix2

commit 695110f35df363286aad015ca591289e171ed185
Author: gatorsmile <gatorsm...@gmail.com>
Date:   2016-11-04T04:28:00Z

    update code comments

----


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