[ 
https://issues.apache.org/jira/browse/SPARK-5817?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Cheng Hao updated SPARK-5817:
-----------------------------
    Description: 
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;
      SELECT key FROM gen_tmp ORDER BY key ASC;
   """.stripMargin)


  was:
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;
      |  SELECT key FROM gen_tmp ORDER BY key ASC;
   """.stripMargin)



> UDTF column names didn't set properly 
> --------------------------------------
>
>                 Key: SPARK-5817
>                 URL: https://issues.apache.org/jira/browse/SPARK-5817
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>            Reporter: Cheng Hao
>
> 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;
>       SELECT key FROM gen_tmp ORDER BY key ASC;
>    """.stripMargin)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to