GitHub user viirya reopened a pull request:

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

    [SPARK-11523][SQL] Throw AnalysisException for Spark UDFs if using Hive to 
handle CREATE VIEW

    JIRA: https://issues.apache.org/jira/browse/SPARK-11523
    
    When `spark.sql.nativeView = false` (default value), we use Hive native 
command to handle `CREATE VIEW`. If there are Spark UDFs, users will see 
`org.apache.hadoop.hive.ql.parse.SemanticException`. We should throw an 
AnalysisException for that.

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

    $ git pull https://github.com/viirya/spark-1 no-udfs-hive-view

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

    https://github.com/apache/spark/pull/9496.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 #9496
    
----
commit 066df0955d3fc04b5f670ee828b22888f834f6d1
Author: Liang-Chi Hsieh <[email protected]>
Date:   2015-11-05T15:26:16Z

    Throw AnalysisException when using Spark UDFs under spark.sql.nativeView = 
false.

commit ad5455b64a4bd9be4bc9f12cbacc1470a5ef1be5
Author: Liang-Chi Hsieh <[email protected]>
Date:   2015-11-05T23:15:17Z

    Fix it.

commit c6bb0280eb67fc272b90fa1a89f71ebac607bb70
Author: Liang-Chi Hsieh <[email protected]>
Date:   2015-11-06T01:15:04Z

    Fix the bug.

----


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