GitHub user chenghao-intel opened a pull request:

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

    [SPARK-5817] [SQL] Fix bug of udtf with column names

    Column names doesn't set properly for UDTF, the following case will throws 
exception
    ```
    createQueryTest("insert table with generator with column name",
        """
          CREATE TABLE gen_tmp (key Int);
          INSERT OVERWRITE TABLE gen_tmp
            SELECT explode(array(1,2,3)) AS val FROM src LIMIT 3;
       """.stripMargin)
    ```


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

    $ git pull https://github.com/chenghao-intel/spark explode_bug

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

    https://github.com/apache/spark/pull/4602.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 #4602
    
----
commit 5ddab7e779df663c70dcd60fb49f0b5eddd39dcd
Author: Cheng Hao <[email protected]>
Date:   2015-02-14T03:34:14Z

    Fix bug of udtf with column names

----


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